ClassRadTabControlAutomationPeer
Automation Peer for the RadTabControl class.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class RadTabControlAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider
Inheritance: objectRadTabControlAutomationPeer
Derived Classes:
Implements:
Constructors
RadTabControlAutomationPeer(RadTabControl)
Initializes a new instance of the RadTabControlAutomationPeer class.
Declaration
public RadTabControlAutomationPeer(RadTabControl owner)
Parameters
owner
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
public bool CanSelectMultiple { get; }
Property Value
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
public bool IsSelectionRequired { get; }
Property Value
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
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
item
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
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
[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 .
GetClickablePointCore()
Gets a Point that represents the clickable space that is on the RadTabControl that is associated with this . This method is called by .
GetPattern(PatternInterface)
Gets the control pattern for the RadTabControl 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.
GetSelection()
ISelectionProvider implementation. Retrieves a UI Automation provider for each child element that is selected.
Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
IRawElementProviderSimple[]
An array of UI Automation providers.