Show / Hide Table of Contents

Class TabControlAutomationPeer

Exposes TabControl types to UI automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
ItemsControlAutomationPeer
TabControlAutomationPeer
Implements
ISelectionProvider
Inherited Members
ItemsControlAutomationPeer.CreateItemAutomationPeer(Object)
ItemsControlAutomationPeer.GetChildrenCore()
FrameworkElementAutomationPeer.Owner
FrameworkElementAutomationPeer.FromElement(UIElement)
FrameworkElementAutomationPeer.CreatePeerForElement(UIElement)
FrameworkElementAutomationPeer.GetAcceleratorKeyCore()
FrameworkElementAutomationPeer.GetAccessKeyCore()
FrameworkElementAutomationPeer.GetAutomationIdCore()
FrameworkElementAutomationPeer.GetHelpTextCore()
FrameworkElementAutomationPeer.GetItemStatusCore()
FrameworkElementAutomationPeer.GetItemTypeCore()
FrameworkElementAutomationPeer.GetLabeledByCore()
FrameworkElementAutomationPeer.GetNameCore()
FrameworkElementAutomationPeer.IsRequiredForFormCore()
FrameworkElementAutomationPeer.GetBoundingRectangleCore()
FrameworkElementAutomationPeer.IsContentElementCore()
FrameworkElementAutomationPeer.IsControlElementCore()
FrameworkElementAutomationPeer.IsPasswordCore()
FrameworkElementAutomationPeer.IsEnabledCore()
FrameworkElementAutomationPeer.GetLocalizedControlTypeCore()
FrameworkElementAutomationPeer.GetOrientationCore()
FrameworkElementAutomationPeer.HasKeyboardFocusCore()
FrameworkElementAutomationPeer.IsOffscreenCore()
FrameworkElementAutomationPeer.SetFocusCore()
AutomationPeer.EventsSource
AutomationPeer.ListenerExists(AutomationEvents)
AutomationPeer.GetAcceleratorKey()
AutomationPeer.GetAccessKey()
AutomationPeer.GetAutomationControlType()
AutomationPeer.GetAutomationId()
AutomationPeer.GetBoundingRectangle()
AutomationPeer.GetChildren()
AutomationPeer.GetClassName()
AutomationPeer.GetClickablePoint()
AutomationPeer.GetHelpText()
AutomationPeer.GetItemStatus()
AutomationPeer.GetItemType()
AutomationPeer.GetLabeledBy()
AutomationPeer.GetLocalizedControlType()
AutomationPeer.GetName()
AutomationPeer.GetOrientation()
AutomationPeer.HasKeyboardFocus()
AutomationPeer.IsContentElement()
AutomationPeer.IsControlElement()
AutomationPeer.IsEnabled()
AutomationPeer.IsKeyboardFocusable()
AutomationPeer.IsOffscreen()
AutomationPeer.IsPassword()
AutomationPeer.IsRequiredForForm()
AutomationPeer.SetFocus()
AutomationPeer.InvalidatePeer()
AutomationPeer.GetParent()
AutomationPeer.RaiseAutomationEvent(AutomationEvents)
AutomationPeer.RaisePropertyChangedEvent(AutomationProperty, Object, Object)
AutomationPeer.PeerFromProvider(IRawElementProviderSimple)
AutomationPeer.ProviderFromPeer(AutomationPeer)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.Controls.dll
Syntax
public class TabControlAutomationPeer : ItemsControlAutomationPeer, IDependencyObject, ISelectionProvider

Constructors

| Improve this Doc View Source

TabControlAutomationPeer(TabControl)

Initializes a new instance of the TabControlAutomationPeer class.

Declaration
public TabControlAutomationPeer(TabControl owner)
Parameters
Type Name Description
TabControl owner

The TabControl that is associated with this TabControlAutomationPeer.

Methods

| Improve this Doc View Source

GetAutomationControlTypeCore()

Gets the control type for the element that is associated with the UI Automation peer.

Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type Description
AutomationControlType

The control type.

Overrides
FrameworkElementAutomationPeer.GetAutomationControlTypeCore()
| Improve this Doc View Source

GetClassNameCore()

Called by GetClassName that gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.

Declaration
protected override string GetClassNameCore()
Returns
Type Description
System.String

The string that contains the name.

Overrides
FrameworkElementAutomationPeer.GetClassNameCore()
| Improve this Doc View Source

GetClickablePointCore()

This method is called by GetClickablePoint().

Declaration
protected override Point GetClickablePointCore()
Returns
Type Description
Point

A Point containing System.Double.NaN, System.Double.NaN; the only clickable points in a TabControl are the child TabItem elements.

Overrides
FrameworkElementAutomationPeer.GetClickablePointCore()
| Improve this Doc View Source

GetPattern(PatternInterface)

Gets the control pattern for the TabControl that is associated with this TabControlAutomationPeer.

Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type Name Description
PatternInterface patternInterface

One of the enumeration values.

Returns
Type Description
System.Object

The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer.

Overrides
ItemsControlAutomationPeer.GetPattern(PatternInterface)
| Improve this Doc View Source

IsKeyboardFocusableCore()

Gets a value that indicates whether the element can accept keyboard focus.

Declaration
protected override bool IsKeyboardFocusableCore()
Returns
Type Description
System.Boolean

True if the element can accept keyboard focus; otherwise, false.

Overrides
FrameworkElementAutomationPeer.IsKeyboardFocusableCore()

Explicit Interface Implementations

| Improve this Doc View Source

ISelectionProvider.CanSelectMultiple

Gets a value indicating whether the UI automation provider allows more than one child element to be selected concurrently.

Declaration
bool ISelectionProvider.CanSelectMultiple { get; }
Returns
Type Description
System.Boolean

True if multiple selection is allowed; otherwise, false.

| Improve this Doc View Source

ISelectionProvider.GetSelection()

Retrieves a UI automation provider for each child element that is selected.

Declaration
IRawElementProviderSimple[] ISelectionProvider.GetSelection()
Returns
Type Description
IRawElementProviderSimple[]

An array of UI automation providers.

| Improve this Doc View Source

ISelectionProvider.IsSelectionRequired

Gets a value indicating whether the UI automation provider requires at least one child element to be selected.

Declaration
bool ISelectionProvider.IsSelectionRequired { get; }
Returns
Type Description
System.Boolean

True if selection is required; otherwise, false.

Implements

ISelectionProvider

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source