Share via


Switch.IsToggled Property

Definition

Gets or sets a value indicating whether the switch is in the on position. This is a bindable property.

public:
 property bool IsToggled { bool get(); void set(bool value); };
public bool IsToggled { get; set; }
member this.IsToggled : bool with get, set
Public Property IsToggled As Boolean

Property Value

true if the switch is on; otherwise, false. The default is false.

Applies to