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
- Mutex.cs
- PreloadedPackages.cs
- BaseProcessProtocolHandler.cs
- ISFTagAndGuidCache.cs
- Expressions.cs
- PropertyEmitter.cs
- SettingsPropertyWrongTypeException.cs
- PriorityItem.cs
- Exceptions.cs
- DataGridPageChangedEventArgs.cs
- bidPrivateBase.cs
- QueryOutputWriterV1.cs
- SafeSecurityHandles.cs
- AdPostCacheSubstitution.cs
- DoubleAnimation.cs
- ServiceModelActivity.cs
- IssuedTokenParametersEndpointAddressElement.cs
- XmlIgnoreAttribute.cs
- OdbcConnectionFactory.cs
- OdbcConnectionHandle.cs
- Type.cs
- XhtmlBasicCalendarAdapter.cs
- MouseEventArgs.cs
- MultiTrigger.cs
- GetPageCompletedEventArgs.cs
- DataService.cs
- ReflectTypeDescriptionProvider.cs
- ReferencedType.cs
- EventsTab.cs
- SqlProfileProvider.cs
- ApplicationInterop.cs
- DesignerActionItemCollection.cs
- ParamArrayAttribute.cs
- PermissionAttributes.cs
- MailSettingsSection.cs
- PassportAuthenticationModule.cs
- AsyncDataRequest.cs
- ISAPIApplicationHost.cs
- HttpProfileGroupBase.cs
- DeclarativeCatalogPart.cs
- TableStyle.cs
- SqlWorkflowInstanceStore.cs
- TimeSpanMinutesConverter.cs
- Mapping.cs
- DecoderExceptionFallback.cs
- CommandDevice.cs
- QueryOutputWriter.cs
- OleDbErrorCollection.cs
- RemotingService.cs
- SyndicationFeed.cs
- QueryStringHandler.cs
- TypeUnloadedException.cs
- TransformerConfigurationWizardBase.cs
- HttpValueCollection.cs
- ColumnWidthChangedEvent.cs
- ModifierKeysConverter.cs
- TableSectionStyle.cs
- DocumentPageTextView.cs
- DependencyPropertyHelper.cs
- ListItem.cs
- DivideByZeroException.cs
- XslAst.cs
- TextEditorThreadLocalStore.cs
- WinInet.cs
- XpsFontSubsetter.cs
- GroupItem.cs
- RSAPKCS1SignatureDeformatter.cs
- panel.cs
- EmptyStringExpandableObjectConverter.cs
- DiscriminatorMap.cs
- TransformerTypeCollection.cs
- MissingMemberException.cs
- MarkupObject.cs
- TdsParser.cs
- Image.cs
- FunctionQuery.cs
- TraceContextRecord.cs
- Int64KeyFrameCollection.cs
- ToolStripItemEventArgs.cs
- RotateTransform3D.cs
- ObjectDataSourceChooseMethodsPanel.cs
- CommandField.cs
- QilCloneVisitor.cs
- CursorConverter.cs
- RelativeSource.cs
- SchemaElementDecl.cs
- MSG.cs
- CodeDirectiveCollection.cs
- VirtualizingStackPanel.cs
- PaperSource.cs
- BaseValidator.cs
- WizardForm.cs
- DataComponentNameHandler.cs
- OdbcParameterCollection.cs
- UserControl.cs
- XmlComment.cs
- ConfigurationSectionHelper.cs
- Monitor.cs
- ProgressBarHighlightConverter.cs
- MessageFilterTable.cs