Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- DefaultProxySection.cs
- ZeroOpNode.cs
- QilVisitor.cs
- DataSourceProvider.cs
- RefreshEventArgs.cs
- ActiveXMessageFormatter.cs
- JsonStringDataContract.cs
- regiisutil.cs
- WindowsTitleBar.cs
- DescendantOverDescendantQuery.cs
- DelegatingConfigHost.cs
- ConstrainedDataObject.cs
- FontSourceCollection.cs
- WSSecurityJan2004.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ModifierKeysConverter.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- COAUTHINFO.cs
- ReverseInheritProperty.cs
- LoginUtil.cs
- OutputCacheSettings.cs
- ColumnReorderedEventArgs.cs
- EnumValAlphaComparer.cs
- NullableLongAverageAggregationOperator.cs
- TextChange.cs
- FirewallWrapper.cs
- TextParagraphView.cs
- HijriCalendar.cs
- TextEditorSelection.cs
- Pen.cs
- AsyncCompletedEventArgs.cs
- DynamicHyperLink.cs
- AnnotationResourceCollection.cs
- ClientTargetSection.cs
- ActiveXHost.cs
- StylusButtonEventArgs.cs
- SpotLight.cs
- OverrideMode.cs
- RC2.cs
- TriggerAction.cs
- FrameworkElementFactoryMarkupObject.cs
- CalculatedColumn.cs
- TemplateEditingVerb.cs
- EntityDataSourceWizardForm.cs
- OleDbConnection.cs
- XmlValueConverter.cs
- FullTrustAssembliesSection.cs
- KeyGestureConverter.cs
- FormViewRow.cs
- MemberAccessException.cs
- ServiceOperationParameter.cs
- GenericEnumConverter.cs
- SQLInt64Storage.cs
- ServicePoint.cs
- ScriptManagerProxy.cs
- TemplateBamlRecordReader.cs
- ScriptBehaviorDescriptor.cs
- PointAnimationUsingKeyFrames.cs
- SupportingTokenSecurityTokenResolver.cs
- PngBitmapDecoder.cs
- PrintPreviewGraphics.cs
- XmlNodeList.cs
- DataGridSortCommandEventArgs.cs
- CryptoHelper.cs
- EventSetter.cs
- NegatedCellConstant.cs
- Main.cs
- ColorAnimationBase.cs
- PostBackOptions.cs
- TileBrush.cs
- Keywords.cs
- SiteMapNodeItemEventArgs.cs
- Registry.cs
- Utils.cs
- Stacktrace.cs
- sapiproxy.cs
- ReliableMessagingHelpers.cs
- RowToFieldTransformer.cs
- Image.cs
- DoubleUtil.cs
- ContentOperations.cs
- FixedSOMTable.cs
- LabelDesigner.cs
- DeviceFiltersSection.cs
- ParenthesizePropertyNameAttribute.cs
- ParameterCollection.cs
- isolationinterop.cs
- StreamWriter.cs
- MissingSatelliteAssemblyException.cs
- Queue.cs
- RuntimeWrappedException.cs
- SByteStorage.cs
- JsonFormatGeneratorStatics.cs
- MSG.cs
- XmlNodeList.cs
- CultureTableRecord.cs
- XmlByteStreamWriter.cs
- Empty.cs
- PhysicalAddress.cs
- EntityCollection.cs