AppBarAutomationPeer.ToggleState Property

Definition

Retrieves the toggle state of the owner AppBar.

public:
 property ToggleState ToggleState { ToggleState get(); };
ToggleState ToggleState();
public ToggleState ToggleState { get; }
var toggleState = appBarAutomationPeer.toggleState;
Public ReadOnly Property ToggleState As ToggleState

Property Value

The ToggleState of the owner control.

Implements

Remarks

An automation element must cycle through its toggle state in this order: On, Off and, if supported, Indeterminate.

Applies to