New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadRadialMenuItemAutomationPeer : FrameworkElementAutomationPeer, IToggleProvider, IInvokeProvider

Inheritance: objectRadRadialMenuItemAutomationPeer

Implements: IInvokeProviderIToggleProvider

Constructors

Initializes a new instance of the RadRadialMenuItemAutomationPeer class. Automation Peer for the RadRadialMenuItem class.

C#
public RadRadialMenuItemAutomationPeer(RadRadialMenuItem owner)
Parameters:ownerRadRadialMenuItem

The object that is associated with this AutomationPeer.

Properties

ToggleState

ToggleState

Contains values that specify the System.Windows.Automation.ToggleState of the RadRadialMenuItemAutomationPeer.

C#
public ToggleState ToggleState { get; }

Methods

Returns the control type for the RadRadialMenuItem associated with this RadRadialMenuItemAutomationPeer. This method is called by AutomationPeer.GetAutomationControlType.

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

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 .

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

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 .

C#
protected override string GetClassNameCore()
Returns:

string

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().

C#
protected override string GetHelpTextCore()
Returns:

string

The help text.

C#
protected override string GetItemStatusCore()
Returns:

string

Returns the text label of the RadRadialMenuItem associated with this RadRadialMenuItemAutomationPeer. Called by AutomationPeer.GetName.

C#
protected override string GetNameCore()
Returns:

string

A text label of the Element associated with this RadRadialMenuItemAutomationPeer.

Returns the control pattern for the UIElement that is associated with this RadRadialMenuItemAutomationPeer.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

One of the PatternInterface enum values.

Returns:

object

Invokes the action associated with the RadRadialMenuItem.

C#
public void Invoke()

Changes the System.Windows.Automation.ToggleState of the RadRadialMenuItemAutomationPeer.

C#
public void Toggle()