Class
RadTabControlAutomationPeer

Automation Peer for the RadTabControl class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class RadTabControlAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider

Inheritance: objectRadTabControlAutomationPeer

Derived Classes: BackstageAutomationPeerPaneGroupBaseAutomationPeerRadOutlookBarAutomationPeer

Implements: ISelectionProvider

Constructors

RadTabControlAutomationPeer(RadTabControl)

Initializes a new instance of the RadTabControlAutomationPeer class.

Declaration

cs-api-definition
public RadTabControlAutomationPeer(RadTabControl owner)

Parameters

owner

RadTabControl

The RadTabControl that will be associated with newly created RadTabControlAutomationPeer object.

Properties

CanSelectMultiple

ISelectionProvider implementation. Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

Declaration

cs-api-definition
public bool CanSelectMultiple { get; }

Property Value

bool

true if multiple selection is allowed; otherwise false.

IsSelectionRequired

ISelectionProvider implementation. Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.

Declaration

cs-api-definition
public bool IsSelectionRequired { get; }

Property Value

bool

true if selection is required; otherwise false.

Methods

CreateItemAutomationPeer(object)

When overridden in a derived class, creates a new instance of the ItemAutomationPeer for a data item in the collection of this .

Declaration

cs-api-definition
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)

Parameters

item

object

The data item that is associated with this ItemAutomationPeer.

Returns

ItemAutomationPeer

The new ItemAutomationPeer created.

GetAutomationControlTypeCore()

Gets the control type for the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetChildrenCore()

Gets the collection of elements that are associated with children RadTabItem elements of the owner RadTabControl. This method is called by .

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

The collection of child elements.

GetClassNameCore()

Gets the name of the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

An Empty string.

GetClickablePointCore()

Gets a Point that represents the clickable space that is on the RadTabControl that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override Point GetClickablePointCore()

Returns

Point

The Point on the element that allows a click. The point values are (NaN, NaN) if the element is not both a and a .

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetPattern(PatternInterface)

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

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

One of the enumeration values.

Returns

object

The object that implements the pattern interface, or null.

GetSelection()

ISelectionProvider implementation. Retrieves a UI Automation provider for each child element that is selected.

Declaration

cs-api-definition
public IRawElementProviderSimple[] GetSelection()

Returns

IRawElementProviderSimple[]

An array of UI Automation providers.