UISwitch.On Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This property returns if the state of the switch is on or off.
public virtual bool On { [Foundation.Export("isOn")] get; [Foundation.Export("setOn:")] set; }
member this.On : bool with get, set
Property Value
- Attributes
Remarks
Setting the property changes the state of the switch without an animation.