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

UI Automation Peer class for RadRibbonToggleButton.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

C#
public class RibbonToggleButtonAutomationPeer : RadToggleButtonAutomationPeer

Inheritance: objectRadToggleButtonAutomationPeerRibbonToggleButtonAutomationPeer

Inherited Members RadToggleButtonAutomationPeer.Toggle()RadToggleButtonAutomationPeer.GetPattern(PatternInterface)RadToggleButtonAutomationPeer.GetAutomationControlTypeCore()RadToggleButtonAutomationPeer.GetAutomationIdCore()RadToggleButtonAutomationPeer.GetLocalizedControlTypeCore()RadToggleButtonAutomationPeer.ToggleState...

Constructors

Initializes a new instance of the RibbonToggleButtonAutomationPeer class.

C#
public RibbonToggleButtonAutomationPeer(RadRibbonToggleButton owner)
Parameters:ownerRadRibbonToggleButton

Methods

Returns the name of the UIElement that is associated with this . This method is called by .

C#
protected override string GetClassNameCore()
Returns:

string

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

Overrides: RadToggleButtonAutomationPeer.GetClassNameCore()

Returns the string that describes the functionality of the FrameworkElement that is associated with this . This method is called by .

C#
protected override string GetHelpTextCore()
Returns:

string

The help text, or Empty if there is no help text.

Overrides: RadToggleButtonAutomationPeer.GetHelpTextCore()

C#
protected override string GetItemStatusCore()
Returns:

string

Overrides: RadToggleButtonAutomationPeer.GetItemStatusCore()

Returns the text label of the FrameworkElement that is associated with this . This method is called by .

C#
protected override string GetNameCore()
Returns:

string

The text label of the element that is associated with this automation peer.

Overrides: RadToggleButtonAutomationPeer.GetNameCore()