ClassRadRadialMenuItemAutomationPeer
The AutomationPeer associated with the RadRadialMenuItem class.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class RadRadialMenuItemAutomationPeer : FrameworkElementAutomationPeer, IToggleProvider, IInvokeProvider
Inheritance: objectRadRadialMenuItemAutomationPeer
Implements:
Constructors
RadRadialMenuItemAutomationPeer(RadRadialMenuItem)
Initializes a new instance of the RadRadialMenuItemAutomationPeer class. Automation Peer for the RadRadialMenuItem class.
Declaration
public RadRadialMenuItemAutomationPeer(RadRadialMenuItem owner)
Parameters
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
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
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 .
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
A list of child RadRadialMenuNavigationItemButtonAutomationPeer and elements.
GetClassNameCore()
Returns the name of the RadRadialMenuItem that is associated with this RadRadialMenuAutomationPeer. This method is called by .
Declaration
protected override string GetClassNameCore()
Returns
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
The help text.
GetNameCore()
Returns the text label of the RadRadialMenuItem associated with this RadRadialMenuItemAutomationPeer. Called by AutomationPeer.GetName.
Declaration
protected override string GetNameCore()
Returns
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
patternInterface
PatternInterface
One of the PatternInterface enum values.
Returns
Invoke()
Invokes the action associated with the RadRadialMenuItem.
Declaration
public void Invoke()
Toggle()
Changes the System.Windows.Automation.ToggleState of the RadRadialMenuItemAutomationPeer.
Declaration
public void Toggle()