Code:
/ 4.0 / 4.0 / 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. 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersonalizationProviderHelper.cs
- ComEventsSink.cs
- MetadataItemSerializer.cs
- TextViewBase.cs
- AutoResizedEvent.cs
- AuthorizationRuleCollection.cs
- UniqueConstraint.cs
- Parameter.cs
- CryptoApi.cs
- TransportDefaults.cs
- CounterCreationDataCollection.cs
- Schema.cs
- IDReferencePropertyAttribute.cs
- SchemaSetCompiler.cs
- ExpressionBuilderContext.cs
- GeneralTransform.cs
- UnknownBitmapEncoder.cs
- XmlDocumentType.cs
- Button.cs
- StylusDevice.cs
- EventLogReader.cs
- LinqDataSourceContextEventArgs.cs
- DocumentScope.cs
- ImageBrush.cs
- InstanceOwnerException.cs
- SQlBooleanStorage.cs
- Rect3DConverter.cs
- FieldCollectionEditor.cs
- DataFormats.cs
- Environment.cs
- DataTableMapping.cs
- BindableAttribute.cs
- EntityDataSourceContainerNameItem.cs
- NetworkInterface.cs
- CatalogZone.cs
- ApplicationManager.cs
- XmlElementElement.cs
- ListBoxAutomationPeer.cs
- EnumValAlphaComparer.cs
- WmlCommandAdapter.cs
- SocketManager.cs
- DataGridHelper.cs
- PropVariant.cs
- HandleCollector.cs
- GenerateScriptTypeAttribute.cs
- MethodCallTranslator.cs
- OpenFileDialog.cs
- FilteredDataSetHelper.cs
- CommentGlyph.cs
- listitem.cs
- GrammarBuilderDictation.cs
- MessageLogTraceRecord.cs
- StreamGeometry.cs
- EditCommandColumn.cs
- Delegate.cs
- MethodRental.cs
- BindingBase.cs
- DurationConverter.cs
- QueryCacheEntry.cs
- remotingproxy.cs
- BaseValidatorDesigner.cs
- PriorityItem.cs
- SafeNativeMethods.cs
- RoleGroupCollection.cs
- StatusBarDrawItemEvent.cs
- TypedServiceChannelBuilder.cs
- HtmlTitle.cs
- FileIOPermission.cs
- OrderByQueryOptionExpression.cs
- Pen.cs
- ProcessRequestArgs.cs
- ProfileSection.cs
- InfoCardClaim.cs
- RegexStringValidator.cs
- UInt32Converter.cs
- RuleSettingsCollection.cs
- XmlNamespaceManager.cs
- UshortList2.cs
- LiteralSubsegment.cs
- CallContext.cs
- XomlCompiler.cs
- SubpageParagraph.cs
- MdImport.cs
- FormDocumentDesigner.cs
- TypeResolvingOptionsAttribute.cs
- WindowsTooltip.cs
- WorkflowItemsPresenter.cs
- XomlDesignerLoader.cs
- StringAnimationBase.cs
- ActiveDocumentEvent.cs
- WsatConfiguration.cs
- TreeViewAutomationPeer.cs
- initElementDictionary.cs
- webeventbuffer.cs
- WebPartTransformerAttribute.cs
- SizeAnimationUsingKeyFrames.cs
- SystemMulticastIPAddressInformation.cs
- AnnotationHighlightLayer.cs
- DrawingVisual.cs
- DatePickerAutomationPeer.cs