Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RuntimeConfigLKG.cs
- PolicyLevel.cs
- AssemblyResourceLoader.cs
- ProtocolsConfigurationHandler.cs
- DoubleKeyFrameCollection.cs
- CellRelation.cs
- MailAddress.cs
- RawStylusActions.cs
- pingexception.cs
- ToolStripPanel.cs
- TypeDescriptionProviderAttribute.cs
- MetadataArtifactLoaderComposite.cs
- ProtectedUri.cs
- SqlCacheDependencyDatabase.cs
- XappLauncher.cs
- FlowDocumentReader.cs
- InfoCardProofToken.cs
- GacUtil.cs
- GlyphTypeface.cs
- HtmlAnchor.cs
- UndoManager.cs
- ReadOnlyDataSourceView.cs
- ImageField.cs
- InternalsVisibleToAttribute.cs
- ExpandCollapsePattern.cs
- SuppressMessageAttribute.cs
- XLinq.cs
- SID.cs
- SimpleRecyclingCache.cs
- PeerNearMe.cs
- XamlTreeBuilderBamlRecordWriter.cs
- WebBaseEventKeyComparer.cs
- UnsafeNativeMethods.cs
- COM2FontConverter.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- EllipseGeometry.cs
- Size.cs
- dbdatarecord.cs
- GridViewRowCollection.cs
- StreamGeometryContext.cs
- TdsParameterSetter.cs
- Suspend.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- SqlError.cs
- TextDecorationUnitValidation.cs
- SoapCommonClasses.cs
- RSAPKCS1KeyExchangeFormatter.cs
- HostedElements.cs
- AccessDataSource.cs
- Enum.cs
- SafeWaitHandle.cs
- IItemProperties.cs
- MachineKeySection.cs
- ChainOfResponsibility.cs
- AdPostCacheSubstitution.cs
- DynamicDiscoSearcher.cs
- OneWayChannelFactory.cs
- EmptyReadOnlyDictionaryInternal.cs
- ReflectionHelper.cs
- ColumnCollectionEditor.cs
- Misc.cs
- WebBrowserContainer.cs
- TextInfo.cs
- List.cs
- CompiledELinqQueryState.cs
- PrimitiveSchema.cs
- XmlChoiceIdentifierAttribute.cs
- RestHandler.cs
- IIS7UserPrincipal.cs
- FixedSOMTableRow.cs
- ToolStripItemBehavior.cs
- DesignerWidgets.cs
- HtmlContainerControl.cs
- XmlNodeList.cs
- CreateUserErrorEventArgs.cs
- Icon.cs
- CheckBoxField.cs
- ComEventsHelper.cs
- StyleBamlTreeBuilder.cs
- SmtpDigestAuthenticationModule.cs
- ArglessEventHandlerProxy.cs
- ToolStripDropDownButton.cs
- GAC.cs
- ProxyWebPartConnectionCollection.cs
- SystemInformation.cs
- FirstMatchCodeGroup.cs
- UserThread.cs
- ObjectStateEntryDbDataRecord.cs
- ToolTip.cs
- DrawingState.cs
- WindowsToolbarAsMenu.cs
- SystemFonts.cs
- Hyperlink.cs
- XamlLoadErrorInfo.cs
- XmlSerializationGeneratedCode.cs
- IfAction.cs
- ExpanderAutomationPeer.cs
- GlobalizationSection.cs
- assemblycache.cs
- DbProviderServices.cs