Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- QueueProcessor.cs
- Vector3dCollection.cs
- EntityKey.cs
- Transform3DGroup.cs
- AudioFileOut.cs
- WindowsClientCredential.cs
- AccessViolationException.cs
- FamilyTypeface.cs
- AnnotationAuthorChangedEventArgs.cs
- SqlExpander.cs
- PrintEvent.cs
- ExpressionEvaluator.cs
- SerialErrors.cs
- SignatureDescription.cs
- Polygon.cs
- ErrorFormatter.cs
- NonBatchDirectoryCompiler.cs
- XMLSyntaxException.cs
- OrderByQueryOptionExpression.cs
- ControlEvent.cs
- ImageSource.cs
- Material.cs
- VisualTreeHelper.cs
- CacheRequest.cs
- CmsUtils.cs
- CodeNamespaceImport.cs
- ListViewItem.cs
- ServiceEndpointCollection.cs
- XmlUtil.cs
- BaseDataList.cs
- PrimitiveSchema.cs
- HostingEnvironmentException.cs
- SuppressMessageAttribute.cs
- AssociationEndMember.cs
- EventLogTraceListener.cs
- EncryptedPackage.cs
- RegistryConfigurationProvider.cs
- DataGridViewTextBoxEditingControl.cs
- DecimalAnimationBase.cs
- XmlArrayAttribute.cs
- WmlListAdapter.cs
- DataSvcMapFileSerializer.cs
- HashMembershipCondition.cs
- QueryTaskGroupState.cs
- AvTraceDetails.cs
- GorillaCodec.cs
- GcHandle.cs
- DataServiceHostFactory.cs
- Accessible.cs
- SafeFileMapViewHandle.cs
- Soap12FormatExtensions.cs
- HtmlElementErrorEventArgs.cs
- StreamWriter.cs
- BamlLocalizer.cs
- HtmlTitle.cs
- RightNameExpirationInfoPair.cs
- ScrollProperties.cs
- ClientUrlResolverWrapper.cs
- WebServiceData.cs
- XamlReader.cs
- JsonDeserializer.cs
- ContractTypeNameCollection.cs
- DataObjectSettingDataEventArgs.cs
- WhitespaceRuleLookup.cs
- DecodeHelper.cs
- ConnectionProviderAttribute.cs
- BaseComponentEditor.cs
- Message.cs
- ToolStripItemEventArgs.cs
- DataAdapter.cs
- SynchronizedDispatch.cs
- WindowsGraphics.cs
- SafeSecurityHelper.cs
- BitmapEffectDrawingContent.cs
- WebContext.cs
- CustomSignedXml.cs
- FocusChangedEventArgs.cs
- ScalarRestriction.cs
- SqlCacheDependency.cs
- RoutedEventConverter.cs
- TypeUtils.cs
- CompiledQueryCacheKey.cs
- FunctionMappingTranslator.cs
- InputLanguageCollection.cs
- SafeSecurityHandles.cs
- GenericUriParser.cs
- TemplateBamlRecordReader.cs
- input.cs
- ResponseBodyWriter.cs
- UrlMappingsModule.cs
- HMACSHA512.cs
- GridView.cs
- SendActivity.cs
- MenuItemAutomationPeer.cs
- OpCellTreeNode.cs
- InternalSafeNativeMethods.cs
- Label.cs
- WebConfigurationHost.cs
- ResourceManagerWrapper.cs
- EntityDataSourceValidationException.cs