Provides the AutomationPeer for the RadRadialMenu control, enabling UI automation clients to interact with the control's elements and invoke their functionality. This class implements the IExpandCollapseProvider interface, allowing it to expose the expand and collapse functionality of the radial menu. It also provides methods to retrieve custom property values, determine the control's state, and manage its child elements.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class RadRadialMenuAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider
Inheritance: objectRadRadialMenuAutomationPeer
Implements:
Constructors
Initializes a new instance of the RadRadialMenuAutomationPeer class. Automation Peer for the RadRadialMenu class.
public RadRadialMenuAutomationPeer(RadRadialMenu owner)
The object that is associated with this AutomationPeer.
Properties
ExpandCollapseState
ExpandCollapseState
Gets the state (expanded or collapsed) of the RadRadialMenu control.
public ExpandCollapseState ExpandCollapseState { get; }
The state (expanded or collapsed) of the RadRadialMenu control.
Methods
Hides all nodes, controls, or content that are descendants of the RadRadialMenu control.
public void Collapse()
Displays all child nodes, controls, or content of the RadRadialMenu control.
public void Expand()
Returns the control type for the UIElement associated with this RadRadialMenuAutomationPeer. This method is called by AutomationPeer.GetAutomationControlType.
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The AutomationControlType.Menu enumeration value.
Returns the collection of child elements of the RadRadialMenu that is associated with this RadRadialMenuAutomationPeer. This method is called by .
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
A list of child RadRadialMenuItemAutomationPeer and elements.
Returns the name of owner type of the RadRadialMenu that is associated with this RadRadialMenuAutomationPeer. This method is called by .
protected override string GetClassNameCore()
The name of the owner type that is associated with this RadRadialMenuAutomationPeer.
Gets the string that describes the functionality of the System.Windows.ContentElement that is associated with this RadRadialMenuAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetHelpText().
Gets a control pattern that is associated with this RadRadialMenuAutomationPeer.
public override object GetPattern(PatternInterface patternInterface)
One of the enumeration values that indicates the control pattern.
Returns:The object that implements the pattern interface, or null.