Class
RadRadialMenuItemAutomationPeer

The AutomationPeer associated with the RadRadialMenuItem class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class RadRadialMenuItemAutomationPeer : FrameworkElementAutomationPeer, IToggleProvider, IInvokeProvider

Inheritance: objectRadRadialMenuItemAutomationPeer

Implements: IInvokeProviderIToggleProvider

Constructors

RadRadialMenuItemAutomationPeer(RadRadialMenuItem)

Initializes a new instance of the RadRadialMenuItemAutomationPeer class. Automation Peer for the RadRadialMenuItem class.

Declaration

cs-api-definition
public RadRadialMenuItemAutomationPeer(RadRadialMenuItem owner)

Parameters

owner

RadRadialMenuItem

The object that is associated with this AutomationPeer.

Properties

ToggleState

Contains values that specify the System.Windows.Automation.ToggleState of the RadRadialMenuItemAutomationPeer.

Declaration

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

Property Value

ToggleState

Methods

GetAutomationControlTypeCore()

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

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The AutomationControlType.MenuItem enumeration value.

GetChildrenCore()

Returns the collection of child elements of the RadRadialMenuItem that is associated with this RadRadialMenuItemAutomationPeer. 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 RadRadialMenuNavigationItemButtonAutomationPeer and elements.

GetClassNameCore()

Returns the name of the RadRadialMenuItem 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 RadRadialMenuItemAutomationPeer. 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

GetNameCore()

Returns the text label of the RadRadialMenuItem associated with this RadRadialMenuItemAutomationPeer. Called by AutomationPeer.GetName.

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

A text label of the Element associated with this RadRadialMenuItemAutomationPeer.

GetPattern(PatternInterface)

Returns the control pattern for the UIElement that is associated with this RadRadialMenuItemAutomationPeer.

Declaration

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

Parameters

patternInterface

PatternInterface

One of the PatternInterface enum values.

Returns

object

Invoke()

Invokes the action associated with the RadRadialMenuItem.

Declaration

cs-api-definition
public void Invoke()

Toggle()

Changes the System.Windows.Automation.ToggleState of the RadRadialMenuItemAutomationPeer.

Declaration

cs-api-definition
public void Toggle()