iOS Guides | Samples

MonoTouch.UIKit.UIControlState Enumeration

An enumeration of possible states for a UIControl.


[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIControlState


Flags representing the state of a control.


Member NameDescription
ApplicationMask for application defined states for a control. Possible application-reservedd values are 0x00010000 to 0x00ff0000.
DisabledControl is in the disabled state. You can change this through the Enabled property of the control.
FocusedIndicates that the control has the focus.
HighlightedControl is highlighted. You can change this through the Highlighted property of the control.
NormalThe normal state of the control (not disabled and not higlighted)
ReservedReserved mask, no states should be defined in this range by the application.
SelectedSelected state of the control. You can change this value by accessing the Selected property of the UIControl.


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

The members of Foundation.NSPortDelegate are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.

Protected Constructors

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.

Public Methods