Udostępnij za pośrednictwem


AppBarButtonAutomationPeer.ExpandCollapseState Property

Definition

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

public:
 property ExpandCollapseState ExpandCollapseState { ExpandCollapseState get(); };
ExpandCollapseState ExpandCollapseState();
public ExpandCollapseState ExpandCollapseState { get; }
var expandCollapseState = appBarButtonAutomationPeer.expandCollapseState;
Public ReadOnly Property ExpandCollapseState As ExpandCollapseState

Property Value

A value of the enumeration.

Implements

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to