ExpanderAutomationPeer.ExpandCollapseState Property

Definition

Gets the value of the Expander.IsExpanded property and returns whether the Expander is currently expanded or collapsed.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property ExpandCollapseState ExpandCollapseState { ExpandCollapseState get(); };
ExpandCollapseState ExpandCollapseState();
public ExpandCollapseState ExpandCollapseState { get; }
Public ReadOnly Property ExpandCollapseState As ExpandCollapseState

Property Value

Expanded if the content area of the control is currently shown; Collapsed if the content area is hidden.

Implements

Applies to