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
- RuleConditionDialog.Designer.cs
- SecurityChannelFaultConverter.cs
- SqlStatistics.cs
- ParameterElementCollection.cs
- ToolStripSplitStackLayout.cs
- GridProviderWrapper.cs
- ListSourceHelper.cs
- ComponentDispatcher.cs
- GenerateHelper.cs
- PeerNameRecordCollection.cs
- SortDescriptionCollection.cs
- URLMembershipCondition.cs
- Context.cs
- ItemChangedEventArgs.cs
- ValidationRuleCollection.cs
- LinqDataSource.cs
- TreeBuilder.cs
- WorkflowHostingEndpoint.cs
- TdsParserStateObject.cs
- XmlSchemaAnnotation.cs
- ImpersonationContext.cs
- DispatcherBuilder.cs
- MiniModule.cs
- FloatUtil.cs
- UdpConstants.cs
- ProviderIncompatibleException.cs
- DecimalConverter.cs
- NativeMethodsCLR.cs
- PersonalizationProvider.cs
- ComponentEditorForm.cs
- SafeNativeMethods.cs
- NegatedCellConstant.cs
- oledbmetadatacollectionnames.cs
- FilteredReadOnlyMetadataCollection.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ScrollItemPattern.cs
- ScriptRegistrationManager.cs
- IPipelineRuntime.cs
- xsdvalidator.cs
- BasicExpressionVisitor.cs
- BitSet.cs
- HtmlControl.cs
- PageCatalogPart.cs
- RecognitionResult.cs
- TextAction.cs
- ButtonChrome.cs
- CalendarSelectionChangedEventArgs.cs
- FormViewUpdateEventArgs.cs
- ComponentCollection.cs
- ImageBrush.cs
- Int64AnimationUsingKeyFrames.cs
- ResourcesGenerator.cs
- LinqDataSourceEditData.cs
- AttributeUsageAttribute.cs
- MetadataCache.cs
- EmptyWithCancelationCheckWorkItem.cs
- UnauthorizedAccessException.cs
- ReferencedAssembly.cs
- Inflater.cs
- NullToBooleanConverter.cs
- DataControlImageButton.cs
- LocatorPartList.cs
- NetSectionGroup.cs
- XmlSchemaSet.cs
- XmlSchemaSet.cs
- SegmentInfo.cs
- DocumentGridContextMenu.cs
- AuthenticationModuleElementCollection.cs
- DirectoryNotFoundException.cs
- DynamicResourceExtensionConverter.cs
- FrameSecurityDescriptor.cs
- XComponentModel.cs
- XPathNavigatorReader.cs
- ObsoleteAttribute.cs
- JsonMessageEncoderFactory.cs
- XmlException.cs
- FunctionDefinition.cs
- Listbox.cs
- GACMembershipCondition.cs
- XamlSerializerUtil.cs
- ScriptMethodAttribute.cs
- BuildManager.cs
- PropertiesTab.cs
- PkcsUtils.cs
- HttpDictionary.cs
- DodSequenceMerge.cs
- TrackingDataItem.cs
- ViewStateException.cs
- ExceptionUtil.cs
- WindowsGrip.cs
- DelegatedStream.cs
- CodeTypeDeclaration.cs
- HtmlMeta.cs
- Dictionary.cs
- Pair.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- XmlNodeComparer.cs
- Single.cs
- DependencyPropertyKind.cs
- CodeMemberMethod.cs