Class
RadDockingAutomationPeer

Represents the automation peer for the RadDocking class, enabling UI Automation support for its associated RadDocking element. This class provides methods to retrieve custom property values, manage selection behavior, and expose child elements for UI automation. It implements the ISelectionProvider interface to indicate selection capabilities, allowing only single selection and not requiring any selection to be active. The automation peer also defines how the RadDocking control is represented in UI Automation, including its control type and help text.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Docking.dll

Syntax:

cs-api-definition
public class RadDockingAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider

Inheritance: objectRadDockingAutomationPeer

Implements: ISelectionProvider

Constructors

RadDockingAutomationPeer(RadDocking)

Initializes a new instance of the RadDockingAutomationPeer class.

Declaration

cs-api-definition
public RadDockingAutomationPeer(RadDocking owner)

Parameters

owner

RadDocking

The RadDocking element that is associated with this RadDockingAutomationPeer.

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

GetAutomationControlTypeCore()

Gets the automation control type for this Telerik.Windows.Controls.RadDockingAutomationPeer.

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

Custom automation control type.

GetAutomationIdCore()

Gets the string that uniquely identifies the Telerik.Windows.Controls.RadDocking that is associated with this Telerik.Windows.Controls.RadDockingAutomationPeer.

Declaration

cs-api-definition
protected override string GetAutomationIdCore()

Returns

string

A string that contains the UI Automation identifier.

GetChildrenCore()

Gets the collection of child elements of the UIElement that is associated with this . This method is called by .

Declaration

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

Returns

List<AutomationPeer>

A list of child AutomationPeer elements.

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

Gets the core name for this Telerik.Windows.Controls.RadDocking.

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Gets the pattern.

Declaration

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

Parameters

patternInterface

PatternInterface

Returns

object

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.