Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Automation / Peers / TabControlAutomationPeer.cs / 1305600 / 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
- CellTreeNodeVisitors.cs
- RegexCaptureCollection.cs
- MemberDescriptor.cs
- ViewManager.cs
- ConfigurationSettings.cs
- GridLength.cs
- InvalidPropValue.cs
- dataprotectionpermission.cs
- PackageStore.cs
- Command.cs
- MemoryMappedViewAccessor.cs
- AnalyzedTree.cs
- DBNull.cs
- DynamicQueryableWrapper.cs
- CharConverter.cs
- SqlMethodAttribute.cs
- ArgumentOutOfRangeException.cs
- SchemaEntity.cs
- SqlNodeTypeOperators.cs
- ChangeNode.cs
- BitmapEffectRenderDataResource.cs
- ByteStack.cs
- SafeViewOfFileHandle.cs
- CodeActivity.cs
- PathSegment.cs
- HttpApplication.cs
- ISO2022Encoding.cs
- DrawingContextWalker.cs
- PointHitTestParameters.cs
- SmtpDateTime.cs
- XpsFixedDocumentReaderWriter.cs
- basecomparevalidator.cs
- Transform3DGroup.cs
- RemotingHelper.cs
- StackSpiller.cs
- GeneralTransform3DGroup.cs
- log.cs
- BitmapScalingModeValidation.cs
- COM2TypeInfoProcessor.cs
- Label.cs
- PolicyValidationException.cs
- BuilderElements.cs
- ArraySubsetEnumerator.cs
- DataList.cs
- FacetValueContainer.cs
- CodeAttributeArgumentCollection.cs
- ClientData.cs
- ResizeBehavior.cs
- Function.cs
- cookieexception.cs
- PenLineCapValidation.cs
- Translator.cs
- StoreItemCollection.Loader.cs
- SoapRpcMethodAttribute.cs
- SoapHeaderAttribute.cs
- ParentQuery.cs
- XsltOutput.cs
- RichTextBox.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- DiagnosticStrings.cs
- SemaphoreFullException.cs
- DirectoryRootQuery.cs
- DesignObjectWrapper.cs
- DateTimeParse.cs
- DataPagerFieldCommandEventArgs.cs
- UdpChannelFactory.cs
- ButtonRenderer.cs
- ViewGenResults.cs
- OpCopier.cs
- SQLGuidStorage.cs
- ProbeRequestResponseAsyncResult.cs
- Material.cs
- TypedTableBaseExtensions.cs
- ToolStripOverflow.cs
- ActivityCollectionMarkupSerializer.cs
- Pen.cs
- PassportAuthentication.cs
- KeyGestureConverter.cs
- SafeProcessHandle.cs
- GridViewCommandEventArgs.cs
- ToolStripItemRenderEventArgs.cs
- StreamWithDictionary.cs
- SendSecurityHeaderElement.cs
- MetaTable.cs
- AssociationSetEnd.cs
- InOutArgumentConverter.cs
- ListChangedEventArgs.cs
- MaskedTextBoxDesigner.cs
- wmiutil.cs
- SimpleHandlerFactory.cs
- DetailsViewUpdatedEventArgs.cs
- WindowPattern.cs
- FilterEventArgs.cs
- DurableOperationContext.cs
- BufferedWebEventProvider.cs
- MediaTimeline.cs
- _AuthenticationState.cs
- ContentType.cs
- ExtenderProvidedPropertyAttribute.cs
- securestring.cs