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

The AutomationPeer associated with the RadMenu class.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
[Obsolete("Use the RadMenuAutomationPeer that is under the Telerik.Windows.Automation.Peers namespace")]
public class RadMenuAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectRadMenuAutomationPeer

Derived Classes: RadMenuAutomationPeer

Constructors

Initializes a new instance of the RadMenuAutomationPeer class. Automation Peer for the RadMenu class.

C#
public RadMenuAutomationPeer(RadMenu owner)
Parameters:ownerRadMenu

The object that is associated with this AutomationPeer.

Methods

GetAutomationControlTypeCore()

AutomationControlType

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

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The AutomationControlType.Menu enumeration value.

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

C#
protected override string GetClassNameCore()
Returns:

string

Returns the text label of the FrameworkElement associated with this AutomationPeers. Called by AutomationPeer.GetName.

C#
protected override string GetNameCore()
Returns:

string

A text label of the Element associated with this Automation Peer.