Class
RadRadialMenuAutomationPeer

The AutomationPeer associated with the RadMenu class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class RadRadialMenuAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider

Inheritance: objectRadRadialMenuAutomationPeer

Implements: IExpandCollapseProvider

Constructors

RadRadialMenuAutomationPeer(RadRadialMenu)

Initializes a new instance of the RadRadialMenuAutomationPeer class. Automation Peer for the RadRadialMenu class.

Declaration

cs-api-definition
public RadRadialMenuAutomationPeer(RadRadialMenu owner)

Parameters

owner

RadRadialMenu

The object that is associated with this AutomationPeer.

Properties

ExpandCollapseState

Gets the state (expanded or collapsed) of the RadRadialMenu control.

Declaration

cs-api-definition
public ExpandCollapseState ExpandCollapseState { get; }

Property Value

ExpandCollapseState

The state (expanded or collapsed) of the RadRadialMenu control.

Methods

Collapse()

Hides all nodes, controls, or content that are descendants of the RadRadialMenu control.

Declaration

cs-api-definition
public void Collapse()

Expand()

Displays all child nodes, controls, or content of the RadRadialMenu control.

Declaration

cs-api-definition
public void Expand()

GetAutomationControlTypeCore()

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

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The AutomationControlType.Menu enumeration value.

GetChildrenCore()

Returns the collection of child elements of the RadRadialMenu that is associated with this RadRadialMenuAutomationPeer. This method is called by .

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

A list of child RadRadialMenuItemAutomationPeer and elements.

GetClassNameCore()

Returns the name of owner type of the RadRadialMenu that is associated with this RadRadialMenuAutomationPeer. This method is called by .

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

The name of the owner type that is associated with this RadRadialMenuAutomationPeer.

GetHelpTextCore()

Gets the string that describes the functionality of the System.Windows.ContentElement that is associated with this RadRadialMenuAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetHelpText().

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

The help text.

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetPattern(PatternInterface)

Gets a control pattern that is associated with this RadRadialMenuAutomationPeer.

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

One of the enumeration values that indicates the control pattern.

Returns

object

The object that implements the pattern interface, or null.