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

UI Automation Peer class for RadRibbonButton.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

C#
public class RibbonButtonAutomationPeer : RadButtonAutomationPeer

Inheritance: objectRadButtonAutomationPeerRibbonButtonAutomationPeer

Inherited Members RadButtonAutomationPeer.Invoke()RadButtonAutomationPeer.GetPattern(PatternInterface)RadButtonAutomationPeer.GetAutomationControlTypeCore()RadButtonAutomationPeer.GetAutomationIdCore()

Constructors

Initializes a new instance of the RibbonButtonAutomationPeer class.

C#
public RibbonButtonAutomationPeer(RadRibbonButton owner)
Parameters:ownerRadRibbonButton

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: RadButtonAutomationPeer.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: RadButtonAutomationPeer.GetHelpTextCore()

C#
protected override string GetItemStatusCore()
Returns:

string

Overrides: RadButtonAutomationPeer.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: RadButtonAutomationPeer.GetNameCore()