iOS Guides | Samples

MonoTouch.UIKit.UISwitch.UISwitchAppearance Class

Appearance class for objects of type UISwitch.

See Also: UISwitch+UISwitchAppearance

Syntax

public class UISwitch.UISwitchAppearance : UIControl+UIControlAppearance

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 UISwitch.Appearance property on the UISwitch or by calling the UISwitch.AppearanceWhenContainedIn to get a UIAppearance that is context sensitive.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UISwitch.UISwitchAppearance are listed below.

See Also: UIControl+UIControlAppearance

Protected Constructors

Public Properties

OffImageUIImage. The UIImage used to indicate the off state.
OnImageUIImage. The UIImage used to indicate the on state.
OnTintColorUIColor. The tint applied to the background for the on state.
ThumbTintColorUIColor. The tint color applied to the thumb.