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
Initializes a new instance of the RadDockingAutomationPeer class.
public RadDockingAutomationPeer(RadDocking owner)
The RadDocking element that is associated with this RadDockingAutomationPeer.
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
Gets the automation control type for this Telerik.Windows.Controls.RadDockingAutomationPeer.
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
Custom automation control type.
Gets the string that uniquely identifies the Telerik.Windows.Controls.RadDocking that is associated with this Telerik.Windows.Controls.RadDockingAutomationPeer.
protected override string GetAutomationIdCore()
A string that contains the UI Automation identifier.
Gets the collection of child elements of the UIElement that is associated with this . This method is called by .
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
A list of child AutomationPeer elements.
Gets the core name for this Telerik.Windows.Controls.RadDocking.
Gets the pattern.
public override object GetPattern(PatternInterface patternInterface)
ISelectionProvider implementation. Retrieves a UI Automation provider for each child element that is selected.
public IRawElementProviderSimple[] GetSelection()
IRawElementProviderSimple[]
An array of UI Automation providers.