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

Provides the AutomationPeer for the RadRadialMenu control, enabling UI automation clients to interact with the control's elements and invoke their functionality. This class implements the IExpandCollapseProvider interface, allowing it to expose the expand and collapse functionality of the radial menu. It also provides methods to retrieve custom property values, determine the control's state, and manage its child elements.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class RadRadialMenuAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider

Inheritance: objectRadRadialMenuAutomationPeer

Implements: IExpandCollapseProvider

Constructors

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

C#
public RadRadialMenuAutomationPeer(RadRadialMenu owner)
Parameters:ownerRadRadialMenu

The object that is associated with this AutomationPeer.

Properties

ExpandCollapseState

ExpandCollapseState

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

C#
public ExpandCollapseState ExpandCollapseState { get; }
Property Value:

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

Methods

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

C#
public void Collapse()

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

C#
public void Expand()

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

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The AutomationControlType.Menu enumeration value.

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

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

List<AutomationPeer>

A list of child RadRadialMenuItemAutomationPeer and elements.

Returns the name of owner type of the RadRadialMenu 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 RadRadialMenuAutomationPeer. 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

Gets a control pattern that is associated with this RadRadialMenuAutomationPeer.

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

One of the enumeration values that indicates the control pattern.

Returns:

object

The object that implements the pattern interface, or null.