Class RadRadialMenuItemAutomationPeer
The AutomationPeer associated with the RadRadialMenuItem class.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class RadRadialMenuItemAutomationPeer : FrameworkElementAutomationPeer, IToggleProvider, IInvokeProvider
Constructors
RadRadialMenuItemAutomationPeer(RadRadialMenuItem)
Initializes a new instance of the RadRadialMenuItemAutomationPeer class. Automation Peer for the RadRadialMenuItem class.
Declaration
public RadRadialMenuItemAutomationPeer(RadRadialMenuItem owner)
Parameters
RadRadialMenuItem
owner
The object that is associated with this AutomationPeer. |
Properties
ToggleState
Contains values that specify the System.Windows.Automation.ToggleState of the RadRadialMenuItemAutomationPeer.
Declaration
public ToggleState ToggleState { get; }
Property Value
System.Windows.Automation.ToggleState
|
Methods
GetAutomationControlTypeCore()
Returns the control type for the RadRadialMenuItem associated with this RadRadialMenuItemAutomationPeer. This method is called by AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
The AutomationControlType.MenuItem enumeration value. |
GetChildrenCore()
Returns the collection of child elements of the RadRadialMenuItem that is associated with this RadRadialMenuItemAutomationPeer. 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 RadRadialMenuNavigationItemButtonAutomationPeer and System.Windows.Automation.Peers.TextBlockAutomationPeer elements. |
GetClassNameCore()
Returns the name of the RadRadialMenuItem 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 RadRadialMenuItemAutomationPeer. 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
|
GetNameCore()
Returns the text label of the RadRadialMenuItem associated with this RadRadialMenuItemAutomationPeer. Called by AutomationPeer.GetName.
Declaration
protected override string GetNameCore()
Returns
System.String
A text label of the Element associated with this RadRadialMenuItemAutomationPeer. |
GetPattern(PatternInterface)
Returns the control pattern for the UIElement that is associated with this RadRadialMenuItemAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
One of the PatternInterface enum values. |
Returns
System.Object
|
Invoke()
Declaration
public void Invoke()
Toggle()
Changes the System.Windows.Automation.ToggleState of the RadRadialMenuItemAutomationPeer.
Declaration
public void Toggle()