Class RadRadialMenuAutomationPeer
The AutomationPeer associated with the RadMenu class.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class RadRadialMenuAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider
Constructors
RadRadialMenuAutomationPeer(RadRadialMenu)
Initializes a new instance of the RadRadialMenuAutomationPeer class. Automation Peer for the RadRadialMenu class.
Declaration
public RadRadialMenuAutomationPeer(RadRadialMenu owner)
Parameters
RadRadialMenu
owner
The object that is associated with this AutomationPeer. |
Properties
ExpandCollapseState
Gets the state (expanded or collapsed) of the RadRadialMenu control.
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
System.Windows.Automation.ExpandCollapseState
The state (expanded or collapsed) of the RadRadialMenu control. |
Methods
Collapse()
Hides all nodes, controls, or content that are descendants of the RadRadialMenu control.
Declaration
public void Collapse()
Expand()
Displays all child nodes, controls, or content of the RadRadialMenu control.
Declaration
public void Expand()
GetAutomationControlTypeCore()
Returns the control type for the UIElement associated with this RadRadialMenuAutomationPeer. This method is called by AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
The AutomationControlType.Menu enumeration value. |
GetChildrenCore()
Returns the collection of child elements of the RadRadialMenu that is associated with this RadRadialMenuAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetChildren.
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
A list of child RadRadialMenuItemAutomationPeer and System.Windows.Automation.Peers.ButtonAutomationPeer elements. |
GetClassNameCore()
Returns the name of owner type of the RadRadialMenu that is associated with this RadRadialMenuAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
System.String
The name of the owner type that is associated with this RadRadialMenuAutomationPeer. |
GetHelpTextCore()
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().
Declaration
protected override string GetHelpTextCore()
Returns
System.String
The help text. |
GetItemStatusCore()
Declaration
protected override string GetItemStatusCore()
Returns
System.String
|
GetPattern(PatternInterface)
Gets a control pattern that is associated with this RadRadialMenuAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
One of the enumeration values that indicates the control pattern. |
Returns
System.Object
The object that implements the pattern interface, or null. |