New to Telerik UI for WPFStart a free 30-day trial

Automation Peer for the RadTabItem class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class RadTabItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider

Inheritance: objectRadTabItemAutomationPeer

Derived Classes: BackstageItemAutomationPeerRadOutlookBarItemAutomationPeerRadPaneAutomationPeer

Implements: ISelectionItemProvider

Constructors

Initializes a new instance of the RadTabItemAutomationPeer class.

C#
public RadTabItemAutomationPeer(object item, RadTabControlAutomationPeer tabAutomationPeer)
Parameters:itemobject

The item.

tabAutomationPeerRadTabControlAutomationPeer

The tab automation peer.

Properties

ISelectionItemProvider implementation. Gets a value that indicates whether an item is selected.

C#
public bool IsSelected { get; }
Property Value:

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.

C#
public IRawElementProviderSimple SelectionContainer { get; }
Property Value:

The provider that supports ISelectionProvider.

Methods

ISelectionItemProvider implementation. Adds the current element to the collection of selected items.

C#
public void AddToSelection()
C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

Gets the item in the that is associated with this .

C#
public object GetItem()
Returns:

object

The data item.

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetNameCore()
Returns:

string

Gets the control pattern for the RadTabItem that is associated with this .

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

One of the enumeration values.

Returns:

object

The object that implements the pattern interface, or null.

ISelectionItemProvider implementation. Removes the current element from the collection of selected items.

C#
public void RemoveFromSelection()

ISelectionItemProvider implementation. Deselects any selected items and then selects the current element.

C#
public void Select()