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

Automation Peer for the RadTabControl class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class RadTabControlAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider

Inheritance: objectRadTabControlAutomationPeer

Derived Classes: BackstageAutomationPeerPaneGroupBaseAutomationPeerRadOutlookBarAutomationPeer

Implements: ISelectionProvider

Constructors

Initializes a new instance of the RadTabControlAutomationPeer class.

C#
public RadTabControlAutomationPeer(RadTabControl owner)
Parameters:ownerRadTabControl

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

Properties

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

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

true if multiple selection is allowed; otherwise false.

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

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

true if selection is required; otherwise false.

Methods

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

C#
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters:itemobject

The data item that is associated with this ItemAutomationPeer.

Returns:

ItemAutomationPeer

The new ItemAutomationPeer created.

GetAutomationControlTypeCore()

AutomationControlType

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

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

GetChildrenCore()

List<AutomationPeer>

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

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

List<AutomationPeer>

The collection of child elements.

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

C#
protected override string GetClassNameCore()
Returns:

string

An Empty string.

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

C#
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 .

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

Gets the control pattern for the RadTabControl 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.

GetSelection()

IRawElementProviderSimple[]

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

C#
public IRawElementProviderSimple[] GetSelection()
Returns:

IRawElementProviderSimple[]

An array of UI Automation providers.