Class
ApplicationButtonAutomationPeer

Automation peer class for Application Button Element.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

cs-api-definition
public class ApplicationButtonAutomationPeer : ButtonAutomationPeer, IExpandCollapseProvider

Inheritance: objectApplicationButtonAutomationPeer

Implements: IExpandCollapseProvider

Constructors

ApplicationButtonAutomationPeer(Button, RadRibbonView)

Initializes a new instance of the ApplicationButtonAutomationPeer class.

Declaration

cs-api-definition
public ApplicationButtonAutomationPeer(Button owner, RadRibbonView ribbonOwner)

Parameters

owner

Button

ribbonOwner

RadRibbonView

Properties

ExpandCollapseState

Gets the expand/collapse state.

Declaration

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

Property Value

ExpandCollapseState

Methods

Collapse()

Implementation of the Collapse method from the IExpandCollapseProvider interface.

Declaration

cs-api-definition
public void Collapse()

Expand()

Implementation of the Expand method from the IExpandCollapseProvider interface.

Declaration

cs-api-definition
public void Expand()

GetClassNameCore()

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

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Gets the AutomationPeer that is the parent of this AutomationPeer.

Declaration

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

Parameters

patternInterface

PatternInterface

Returns

object