ClassRadExpanderAutomationPeer
Class
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:
Constructors
RadExpanderAutomationPeer(RadExpander)
Initializes a new instance of the RadExpanderAutomationPeer class.
Declaration
cs-api-definition
public RadExpanderAutomationPeer(RadExpander element)
Parameters
element
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
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