The members of UIKit.UISwitch are listed below.
See Also: Inherited members from UIKit.UIControl
UISwitch() | Default constructor that initializes a new instance of this class with no parameters. | |
| Initializes the UISwitch with the specified frame. | ||
| A constructor that initializes the object from the data stored in the unarchiver object. |
| Constructor to call on derived classes to skip initialization and merely allocate the object. | ||
| A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
| [read-only] static | Appearance | UISwitch.UISwitchAppearance. Strongly-typed property that returns the UIAppearance class for this class. |
| [read-only] override | ClassHandle | IntPtr. The handle for this class. |
| OffImage | UIImage. The image to be used to indicate Off. | |
| On | bool. This property returns if the state of the switch is on or off. | |
| OnImage | UIImage. The UIImage representing the On state. | |
| OnTintColor | UIColor. The tint color to use when the switch is turned on. | |
| ThumbTintColor | UIColor. The color used to tint the thumb. |
static | AppearanceWhenContainedIn(params Type[])Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy. | |
static | GetAppearance<T>()The strongly-typed IUIAppearance for this object. | |
static | GetAppearance<T>(UITraitCollection)Documentation for this section has not yet been entered. | |
static | GetAppearance<T>(UITraitCollection, params Type[])Documentation for this section has not yet been entered. | |
SetState(bool, bool)This method changes the state of the switch, and will animate the change if specified. | ||