Class
RadMenuAutomationPeer

The AutomationPeer associated with the RadMenu class.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
[Obsolete("Use the RadMenuAutomationPeer that is under the Telerik.Windows.Automation.Peers namespace")]
public class RadMenuAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectRadMenuAutomationPeer

Derived Classes: RadMenuAutomationPeer

Constructors

RadMenuAutomationPeer(RadMenu)

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

Declaration

cs-api-definition
public RadMenuAutomationPeer(RadMenu owner)

Parameters

owner

RadMenu

The object that is associated with this AutomationPeer.

Methods

GetAutomationControlTypeCore()

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

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The AutomationControlType.Menu enumeration value.

GetClassNameCore()

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

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetNameCore()

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

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

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