UISwitch.UISwitchAppearance UISwitch.UISwitchAppearance Class

Definition

Appearance class for objects of type UISwitch.

public class UISwitch.UISwitchAppearance : UIKit.UIControl.UIControlAppearance
type UISwitch.UISwitchAppearance = class
    inherit UIControl.UIControlAppearance
Inheritance
UIKit.UIControl+UIControlAppearanceUIKit.UIControl+UIControlAppearance
UISwitch.UISwitchAppearanceUISwitch.UISwitchAppearance

Remarks

This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class UISwitch. You can obtain an instance to this class by either accessing the static Appearance property on the UISwitch or by calling the AppearanceWhenContainedIn(Type[]) to get a UIAppearance that is context sensitive.

Constructors

UISwitch.UISwitchAppearance(IntPtr) UISwitch.UISwitchAppearance(IntPtr)

Properties

OffImage OffImage

The UIImage used to indicate the off state.

OnImage OnImage

The UIImage used to indicate the on state.

OnTintColor OnTintColor

The tint applied to the background for the on state.

ThumbTintColor ThumbTintColor

The tint color applied to the thumb.

Applies to