Class RadTabItemAutomationPeer
Automation Peer for the RadTabItem class.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class RadTabItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider
Constructors
RadTabItemAutomationPeer(Object, RadTabControlAutomationPeer)
Initializes a new instance of the RadTabItemAutomationPeer class.
Declaration
public RadTabItemAutomationPeer(object item, RadTabControlAutomationPeer tabAutomationPeer)
Parameters
System.Object
item
The item. |
RadTabControlAutomationPeer
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
System.Boolean
True if the element is selected; otherwise false. |
SelectionContainer
ISelectionItemProvider implementation. Gets the UI Automation provider that implements System.Windows.Automation.Provider.ISelectionProvider and acts as the container for the calling object.
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
System.Windows.Automation.Provider.IRawElementProviderSimple
The provider that supports System.Windows.Automation.Provider.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
System.Windows.Automation.Peers.AutomationControlType
|
GetChildrenCore()
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
|
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.String
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
GetItem()
Gets the item in the that is associated with this Telerik.Windows.Controls.RadTabItemAutomationPeer.
Declaration
public object GetItem()
Returns
System.Object
The data item. |
GetItemStatusCore()
Declaration
protected override string GetItemStatusCore()
Returns
System.String
|
GetNameCore()
Declaration
protected override string GetNameCore()
Returns
System.String
|
GetPattern(PatternInterface)
Gets the control pattern for the RadTabItem that is associated with this Telerik.Windows.Controls.RadTabItemAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
One of the enumeration values. |
Returns
System.Object
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()