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
Initializes a new instance of the RadTabControlAutomationPeer class.
public RadTabControlAutomationPeer(RadTabControl owner)
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.
public bool CanSelectMultiple { get; }
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.
public bool IsSelectionRequired { get; }
true if selection is required; otherwise false.
Methods
CreateItemAutomationPeer(object)
ItemAutomationPeer
When overridden in a derived class, creates a new instance of the ItemAutomationPeer for a data item in the collection of this .
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
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 .
protected override AutomationControlType GetAutomationControlTypeCore()
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 .
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
The collection of child elements.
Gets a Point that represents the clickable space that is on the RadTabControl that is associated with this . This method is called by .
Gets the control pattern for the RadTabControl that is associated with this .
public override object GetPattern(PatternInterface patternInterface)
One of the enumeration values.
Returns: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.
public IRawElementProviderSimple[] GetSelection()
IRawElementProviderSimple[]
An array of UI Automation providers.