Click or drag to resize
SwitchIsOn Property
Gets a value that indicates if the switch is on.

Namespace: Microsoft.IoT.Devices.Input
Assembly: Microsoft.IoT.Devices (in Microsoft.IoT.Devices.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool IsOn { get; }

Property Value

Type: Boolean

Implements

ISwitchIsOn
Remarks
true if the switch is on; otherwise false.
See Also