Class
RadExpanderAutomationPeer

UI AutomationPeer class for RadExpander.

Definition

Namespace:Telerik.UI.Automation.Peers

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadExpanderAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider

Inheritance: objectRadExpanderAutomationPeer

Implements: IExpandCollapseProvider

Constructors

RadExpanderAutomationPeer(RadExpander)

Initializes a new instance of the RadExpanderAutomationPeer class.

Declaration

cs-api-definition
public RadExpanderAutomationPeer(RadExpander element)

Parameters

element

RadExpander

Properties

ExpandCollapseState

Gets the state, expanded or collapsed, of the control.

Declaration

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

Property Value

ExpandCollapseState

The state, expanded or collapsed, of the control.

Methods

Collapse()

Declaration

cs-api-definition
public void Collapse()

Expand()

Displays all child nodes, controls, or content of the control.

Declaration

cs-api-definition
public void Expand()

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPatternCore(PatternInterface)

Gets a control pattern that is associated with this AutomationPeer.

Declaration

cs-api-definition
protected override object GetPatternCore(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

Returns

object

IsEnabledCore()

Declaration

cs-api-definition
protected override bool IsEnabledCore()

Returns

bool