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

Represents an automation peer for the RadMenuItem class, enabling UI automation interaction for menu items. This class provides methods to retrieve custom property values relating to the associated RadMenuItem and to provide help text and status information. It includes functionality specific to WPF automation features, such as retrieving details about the menu item's input gestures, icon, check state, and dropdown settings for accessibility purposes.

Definition

Constructors

Initializes a new instance of the RadMenuItemAutomationPeer class. Automation Peer for the RadMenuItem class.

C#
public RadMenuItemAutomationPeer(RadMenuItem owner)
Parameters:ownerRadMenuItem

The object that is associated with this AutomationPeer.

Methods

Returns the name of the class associated with this AutomationPeer. This method is called by AutomationPeer.GetClassName.

C#
protected override string GetClassNameCore()
Returns:

string

Overrides: RadMenuItemAutomationPeer.GetClassNameCore()

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string