Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- Configuration.cs
- FieldDescriptor.cs
- Page.cs
- SocketInformation.cs
- ForceCopyBuildProvider.cs
- KeyValueConfigurationElement.cs
- SafeArrayRankMismatchException.cs
- ArithmeticLiteral.cs
- InternalDuplexChannelListener.cs
- SiteMapSection.cs
- DrawToolTipEventArgs.cs
- BooleanKeyFrameCollection.cs
- IteratorDescriptor.cs
- UITypeEditors.cs
- FaultConverter.cs
- WhitespaceSignificantCollectionAttribute.cs
- RawStylusSystemGestureInputReport.cs
- RadioButton.cs
- MessageProtectionOrder.cs
- ResourceProviderFactory.cs
- MaterialGroup.cs
- ThreadExceptionEvent.cs
- ReflectionPermission.cs
- AssemblyAttributes.cs
- CharacterMetricsDictionary.cs
- XmlDataSourceDesigner.cs
- AssociatedControlConverter.cs
- OSFeature.cs
- ExpiredSecurityTokenException.cs
- DefaultMergeHelper.cs
- TimeSpan.cs
- RectangleGeometry.cs
- COAUTHIDENTITY.cs
- URLString.cs
- DataPagerField.cs
- CharStorage.cs
- DataProtection.cs
- _NestedSingleAsyncResult.cs
- WindowHideOrCloseTracker.cs
- input.cs
- CodeNamespace.cs
- securitymgrsite.cs
- DataSourceCacheDurationConverter.cs
- Helpers.cs
- FixedSOMImage.cs
- ExpressionVisitor.cs
- ProfileSection.cs
- MULTI_QI.cs
- Tracking.cs
- SmtpException.cs
- ToolStripHighContrastRenderer.cs
- BrowsableAttribute.cs
- XmlNavigatorStack.cs
- PageFunction.cs
- BaseParser.cs
- arc.cs
- RegistryPermission.cs
- RouteUrlExpressionBuilder.cs
- ConstraintManager.cs
- ToolStripItemClickedEventArgs.cs
- SchemaTypeEmitter.cs
- CheckBoxFlatAdapter.cs
- WindowsSysHeader.cs
- WebPartVerbCollection.cs
- Attributes.cs
- PageThemeBuildProvider.cs
- WinFormsSecurity.cs
- MergeLocalizationDirectives.cs
- BitmapInitialize.cs
- TypeConverterHelper.cs
- manifestimages.cs
- DataFieldCollectionEditor.cs
- XhtmlBasicPhoneCallAdapter.cs
- PenThreadWorker.cs
- StateRuntime.cs
- Slider.cs
- XmlTypeMapping.cs
- SafeRightsManagementSessionHandle.cs
- PageOutputColor.cs
- ChangePasswordAutoFormat.cs
- MDIClient.cs
- ConstantSlot.cs
- MemberDescriptor.cs
- SecureStringHasher.cs
- ConfigurationElement.cs
- FormatConvertedBitmap.cs
- SpellerInterop.cs
- TextTabProperties.cs
- ResourcePermissionBaseEntry.cs
- UInt16.cs
- TargetControlTypeAttribute.cs
- EntityDataSourceSelectedEventArgs.cs
- Renderer.cs
- ColorConverter.cs
- ProgressBarAutomationPeer.cs
- XmlCodeExporter.cs
- PartManifestEntry.cs
- _LocalDataStoreMgr.cs
- ProjectionCamera.cs
- TreeNodeEventArgs.cs