Represents the Automation Peer for the RadRadialMenuItem class, providing accessibility support.
This class inherits from and implements the IToggleProvider and IInvokeProvider interfaces, enabling toggle and invoke actions on the associated radial menu item.
It provides methods to retrieve custom property values, manage toggle states, invoke actions, and gather information about the menu item's children and control type within the user interface automation framework.
The RadRadialMenuItemAutomationPeer facilitates accessibility features such as providing names, help text, and descriptions of the functionality of the RadRadialMenuItem.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class RadRadialMenuItemAutomationPeer : FrameworkElementAutomationPeer, IToggleProvider, IInvokeProvider
Inheritance: objectRadRadialMenuItemAutomationPeer
Implements:
Constructors
Initializes a new instance of the RadRadialMenuItemAutomationPeer class. Automation Peer for the RadRadialMenuItem class.
public RadRadialMenuItemAutomationPeer(RadRadialMenuItem owner)
The object that is associated with this AutomationPeer.
Properties
ToggleState
ToggleState
Contains values that specify the System.Windows.Automation.ToggleState of the RadRadialMenuItemAutomationPeer.
public ToggleState ToggleState { get; }
Methods
Returns the control type for the RadRadialMenuItem associated with this RadRadialMenuItemAutomationPeer. This method is called by AutomationPeer.GetAutomationControlType.
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The AutomationControlType.MenuItem enumeration value.
Returns the collection of child elements of the RadRadialMenuItem that is associated with this RadRadialMenuItemAutomationPeer. This method is called by .
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
A list of child RadRadialMenuNavigationItemButtonAutomationPeer and elements.
Returns the name of the RadRadialMenuItem 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 RadRadialMenuItemAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetHelpText().
Returns the text label of the RadRadialMenuItem associated with this RadRadialMenuItemAutomationPeer. Called by AutomationPeer.GetName.
protected override string GetNameCore()
A text label of the Element associated with this RadRadialMenuItemAutomationPeer.
Returns the control pattern for the UIElement that is associated with this RadRadialMenuItemAutomationPeer.
public override object GetPattern(PatternInterface patternInterface)
One of the PatternInterface enum values.
Returns:Invokes the action associated with the RadRadialMenuItem.
public void Invoke()
Changes the System.Windows.Automation.ToggleState of the RadRadialMenuItemAutomationPeer.
public void Toggle()