ClassRadTabItemAutomationPeer
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
RadTabItemAutomationPeer(object, RadTabControlAutomationPeer)
Initializes a new instance of the RadTabItemAutomationPeer class.
Declaration
public RadTabItemAutomationPeer(object item, RadTabControlAutomationPeer tabAutomationPeer)
Parameters
item
The item.
tabAutomationPeer
The tab automation peer.
Properties
IsSelected
ISelectionItemProvider implementation. Gets a value that indicates whether an item is selected.
Declaration
public bool IsSelected { get; }
Property Value
True if the element is selected; otherwise false.
SelectionContainer
ISelectionItemProvider implementation. Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
IRawElementProviderSimple
The provider that supports ISelectionProvider.
Methods
AddToSelection()
ISelectionItemProvider implementation. Adds the current element to the collection of selected items.
Declaration
public void AddToSelection()
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification = "This is an override of a built-in class, the return type cannot be changed.")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
GetItem()
Gets the item in the that is associated with this .
GetPattern(PatternInterface)
Gets the control pattern for the RadTabItem that is associated with this .
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
One of the enumeration values.
Returns
The object that implements the pattern interface, or null.
RemoveFromSelection()
ISelectionItemProvider implementation. Removes the current element from the collection of selected items.
Declaration
public void RemoveFromSelection()
Select()
ISelectionItemProvider implementation. Deselects any selected items and then selects the current element.
Declaration
public void Select()