Automation Peer for the RadTabItem class.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class RadTabItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider
Inheritance: objectRadTabItemAutomationPeer
Derived Classes:
Implements:
Constructors
Initializes a new instance of the RadTabItemAutomationPeer class.
public RadTabItemAutomationPeer(object item, RadTabControlAutomationPeer tabAutomationPeer)
The item.
tabAutomationPeerRadTabControlAutomationPeerThe tab automation peer.
Properties
ISelectionItemProvider implementation. Gets a value that indicates whether an item is selected.
public bool IsSelected { get; }
True if the element is selected; otherwise false.
SelectionContainer
IRawElementProviderSimple
ISelectionItemProvider implementation. Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.
public IRawElementProviderSimple SelectionContainer { get; }
The provider that supports ISelectionProvider.
Methods
ISelectionItemProvider implementation. Adds the current element to the collection of selected items.
public void AddToSelection()
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
Gets the item in the that is associated with this .
Gets the control pattern for the RadTabItem that is associated with this .
public override object GetPattern(PatternInterface patternInterface)
One of the enumeration values.
Returns:The object that implements the pattern interface, or null.
ISelectionItemProvider implementation. Removes the current element from the collection of selected items.
public void RemoveFromSelection()
ISelectionItemProvider implementation. Deselects any selected items and then selects the current element.
public void Select()