Show / Hide Table of Contents

Class TabItemAutomationPeer

Exposes TabItem types to UI automation.

Inheritance
System.Object
DependencyObject
AutomationPeer
FrameworkElementAutomationPeer
ItemAutomationPeer
TabItemAutomationPeer
Implements
ISelectionItemProvider
Inherited Members
ItemAutomationPeer.Item
ItemAutomationPeer.ItemsControlAutomationPeer
ItemAutomationPeer.GetAcceleratorKeyCore()
ItemAutomationPeer.GetAccessKeyCore()
ItemAutomationPeer.GetAutomationIdCore()
ItemAutomationPeer.GetBoundingRectangleCore()
ItemAutomationPeer.GetClickablePointCore()
ItemAutomationPeer.GetHelpTextCore()
ItemAutomationPeer.GetItemStatusCore()
ItemAutomationPeer.GetItemTypeCore()
ItemAutomationPeer.GetLabeledByCore()
ItemAutomationPeer.GetLocalizedControlTypeCore()
ItemAutomationPeer.GetOrientationCore()
ItemAutomationPeer.HasKeyboardFocusCore()
ItemAutomationPeer.IsContentElementCore()
ItemAutomationPeer.IsControlElementCore()
ItemAutomationPeer.IsEnabledCore()
ItemAutomationPeer.IsOffscreenCore()
ItemAutomationPeer.IsPasswordCore()
ItemAutomationPeer.IsRequiredForFormCore()
ItemAutomationPeer.SetFocusCore()
FrameworkElementAutomationPeer.Owner
FrameworkElementAutomationPeer.FromElement(UIElement)
FrameworkElementAutomationPeer.CreatePeerForElement(UIElement)
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 TabItemAutomationPeer : ItemAutomationPeer, IDependencyObject, ISelectionItemProvider

Constructors

| Improve this Doc View Source

TabItemAutomationPeer(Object)

Initializes a new instance of the TabItemAutomationPeer class.

Declaration
public TabItemAutomationPeer(object owner)
Parameters
Type Name Description
System.Object owner

The TabItem to associate with the TabItemAutomationPeer.

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
ItemAutomationPeer.GetAutomationControlTypeCore()
| Improve this Doc View Source

GetChildrenCore()

Returns the ChildrenCore.

Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
Type Description
System.Collections.Generic.List<AutomationPeer>

List of AutomationPeers for the Children.

Overrides
ItemAutomationPeer.GetChildrenCore()
| 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
ItemAutomationPeer.GetClassNameCore()
| Improve this Doc View Source

GetNameCore()

Gets the text label of the TabItem that is associated with this TabItemAutomationPeer. Called by GetName.

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

The string that contains the label. If set, this method returns the value of the Name property; otherwise this method will return the value of the Header property.

Overrides
ItemAutomationPeer.GetNameCore()
| Improve this Doc View Source

GetPattern(PatternInterface)

Gets the control pattern for the TabItem that is associated with this TabItemAutomationPeer.

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
ItemAutomationPeer.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
ItemAutomationPeer.IsKeyboardFocusableCore()

Explicit Interface Implementations

| Improve this Doc View Source

ISelectionItemProvider.AddToSelection()

Adds the current element to the collection of selected items.

Declaration
void ISelectionItemProvider.AddToSelection()
Exceptions
Type Condition
ElementNotEnabledException

Owner element is not enabled.

| Improve this Doc View Source

ISelectionItemProvider.IsSelected

Gets a value indicating whether an item is selected.

Declaration
bool ISelectionItemProvider.IsSelected { get; }
Returns
Type Description
System.Boolean

True if the element is selected; otherwise, false.

| Improve this Doc View Source

ISelectionItemProvider.RemoveFromSelection()

Removes the current element from the collection of selected items.

Declaration
void ISelectionItemProvider.RemoveFromSelection()
| Improve this Doc View Source

ISelectionItemProvider.Select()

Deselects any selected items and then selects the current element.

Declaration
void ISelectionItemProvider.Select()
Exceptions
Type Condition
ElementNotEnabledException

Owner element is not enabled.

| Improve this Doc View Source

ISelectionItemProvider.SelectionContainer

Gets the UI automation provider that implements ISelectionProvider and acts as the container for the calling object.

Declaration
IRawElementProviderSimple ISelectionItemProvider.SelectionContainer { get; }
Returns
Type Description
IRawElementProviderSimple

The provider that supports ISelectionProvider.

Implements

ISelectionItemProvider

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