ClassRadDockingAutomationPeer
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:
public class RadDockingAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider
Inheritance: objectRadDockingAutomationPeer
Implements:
Constructors
RadDockingAutomationPeer(RadDocking)
Initializes a new instance of the RadDockingAutomationPeer class.
Declaration
public RadDockingAutomationPeer(RadDocking owner)
Parameters
owner
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
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
GetAutomationControlTypeCore()
Gets the automation control type for this Telerik.Windows.Controls.RadDockingAutomationPeer.
Declaration
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
protected override string GetAutomationIdCore()
Returns
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
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
A list of child AutomationPeer elements.
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
GetNameCore()
Gets the core name for this Telerik.Windows.Controls.RadDocking.
GetPattern(PatternInterface)
Gets the pattern.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
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.