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

Automation peer class for Application Button Element.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

C#
public class ApplicationButtonAutomationPeer : ButtonAutomationPeer, IExpandCollapseProvider

Inheritance: objectApplicationButtonAutomationPeer

Implements: IExpandCollapseProvider

Constructors

Initializes a new instance of the ApplicationButtonAutomationPeer class.

C#
public ApplicationButtonAutomationPeer(Button owner, RadRibbonView ribbonOwner)
Parameters:ownerButtonribbonOwnerRadRibbonView

Properties

ExpandCollapseState

ExpandCollapseState

Gets the expand/collapse state.

C#
public ExpandCollapseState ExpandCollapseState { get; }

Methods

Implementation of the Collapse method from the IExpandCollapseProvider interface.

C#
public void Collapse()

Implementation of the Expand method from the IExpandCollapseProvider interface.

C#
public void Expand()

Gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetNameCore()
Returns:

string

Gets the AutomationPeer that is the parent of this AutomationPeer.

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

object