Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Automation / Peers / TabControlAutomationPeer.cs / 1 / TabControlAutomationPeer.cs
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Windows; using System.Windows.Automation.Provider; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Interop; using System.Windows.Media; using MS.Internal; using MS.Win32; namespace System.Windows.Automation.Peers { /// public class TabControlAutomationPeer : SelectorAutomationPeer, ISelectionProvider { /// public TabControlAutomationPeer(TabControl owner): base(owner) {} /// override protected ItemAutomationPeer CreateItemAutomationPeer(object item) { return new TabItemAutomationPeer(item, this); } /// override protected AutomationControlType GetAutomationControlTypeCore() { return AutomationControlType.Tab; } /// override protected string GetClassNameCore() { return "TabControl"; } /// protected override Point GetClickablePointCore() { return new Point(double.NaN, double.NaN); } bool ISelectionProvider.IsSelectionRequired { get { return true; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Windows; using System.Windows.Automation.Provider; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Interop; using System.Windows.Media; using MS.Internal; using MS.Win32; namespace System.Windows.Automation.Peers { /// public class TabControlAutomationPeer : SelectorAutomationPeer, ISelectionProvider { /// public TabControlAutomationPeer(TabControl owner): base(owner) {} /// override protected ItemAutomationPeer CreateItemAutomationPeer(object item) { return new TabItemAutomationPeer(item, this); } /// override protected AutomationControlType GetAutomationControlTypeCore() { return AutomationControlType.Tab; } /// override protected string GetClassNameCore() { return "TabControl"; } /// protected override Point GetClickablePointCore() { return new Point(double.NaN, double.NaN); } bool ISelectionProvider.IsSelectionRequired { get { return true; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebBaseEventKeyComparer.cs
- HMAC.cs
- BooleanExpr.cs
- KeyEventArgs.cs
- ToolStripPanelDesigner.cs
- TableRowCollection.cs
- PackageStore.cs
- Int64Storage.cs
- PassportIdentity.cs
- COM2IPerPropertyBrowsingHandler.cs
- XmlStreamNodeWriter.cs
- SqlUnionizer.cs
- WindowsAltTab.cs
- MetadataArtifactLoaderCompositeResource.cs
- ListViewInsertEventArgs.cs
- ExpressionTextBoxAutomationPeer.cs
- EventLogPermissionEntryCollection.cs
- WindowsFormsLinkLabel.cs
- SqlClientWrapperSmiStreamChars.cs
- BaseValidator.cs
- SiteMembershipCondition.cs
- handlecollector.cs
- CurrentChangingEventArgs.cs
- AnnotationResourceChangedEventArgs.cs
- RulePatternOps.cs
- NullableDecimalAverageAggregationOperator.cs
- CopyAction.cs
- ConfigurationManagerInternalFactory.cs
- FamilyMap.cs
- PointConverter.cs
- TemplateInstanceAttribute.cs
- UxThemeWrapper.cs
- odbcmetadatacollectionnames.cs
- DrawingGroup.cs
- TableLayoutRowStyleCollection.cs
- RegisteredExpandoAttribute.cs
- Filter.cs
- ProcessModelInfo.cs
- StructuredType.cs
- StreamInfo.cs
- DesignTimeDataBinding.cs
- URLIdentityPermission.cs
- AssemblyAttributesGoHere.cs
- XmlSecureResolver.cs
- XmlHierarchicalEnumerable.cs
- BooleanAnimationBase.cs
- LinqDataSourceEditData.cs
- errorpatternmatcher.cs
- FlowDocumentFormatter.cs
- RegexWriter.cs
- HttpPostedFile.cs
- ValueChangedEventManager.cs
- RNGCryptoServiceProvider.cs
- StreamingContext.cs
- DataViewManager.cs
- SoapAttributeOverrides.cs
- DataGridViewImageColumn.cs
- DSASignatureFormatter.cs
- RegionData.cs
- DataObjectSettingDataEventArgs.cs
- oledbmetadatacolumnnames.cs
- UIElementAutomationPeer.cs
- SerializerDescriptor.cs
- MouseWheelEventArgs.cs
- externdll.cs
- TextTreeTextBlock.cs
- MiniAssembly.cs
- externdll.cs
- SolidColorBrush.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- Int64.cs
- WebConvert.cs
- DesignerActionUIStateChangeEventArgs.cs
- Storyboard.cs
- CallbackCorrelationInitializer.cs
- TextEmbeddedObject.cs
- ProtocolsConfigurationEntry.cs
- StickyNoteContentControl.cs
- Command.cs
- FormConverter.cs
- ControlBuilder.cs
- ResourceAssociationType.cs
- PlatformNotSupportedException.cs
- IsolatedStoragePermission.cs
- AsymmetricKeyExchangeFormatter.cs
- StandardCommands.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- Adorner.cs
- SafeEventHandle.cs
- Logging.cs
- SQLDecimal.cs
- CleanUpVirtualizedItemEventArgs.cs
- WebControlsSection.cs
- CompareValidator.cs
- SelectedDatesCollection.cs
- webeventbuffer.cs
- TypeBuilder.cs
- SystemIPv6InterfaceProperties.cs
- _NTAuthentication.cs
- GatewayDefinition.cs