UIKit.UIControl Members

The members of UIKit.UIControl are listed below.

See Also: Inherited members from UIKit.UIView

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
Initializes the UIControl with the specified frame.
A constructor that initializes the object from the data stored in the unarchiver object.

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 Properties

[read-only]
AllControlEventsUIControlEvent. The control events associated with this UIControl.
[read-only]
AllTargetsFoundation.NSSet. The target objects associated with this UIControl.
[read-only]
static
AppearanceUIControl.UIControlAppearance. Strongly-typed property that returns the UIAppearance class for this class.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
Enabledbool. Whether this UIControl is enabled.
Highlightedbool. Whether this UIControl is highlighted.
HorizontalAlignmentUIControlContentHorizontalAlignment. The horizontal alignment of this UIControl's content.
Selectedbool. Whether this UIControl is selected.
[read-only]
StateUIControlState. A bitmask that indicates the state of this UIControl. Read-only.
[read-only]
TouchInsidebool. Whether a touch is inside this UIControl. Read-only.
[read-only]
Trackingbool. Whether this UIControl is tracking touches related to an event. Read-only.
VerticalAlignmentUIControlContentVerticalAlignment. The vertical alignment of this UIControl's content.

Public Methods

AddTarget(EventHandler, UIControlEvent)
Adds an event handler for the specified set of events.
AddTarget(Foundation.NSObject, ObjCRuntime.Selector, UIControlEvent)
Adds a target and control event(s) to this UIControl's internal dispatch table.
static
AppearanceWhenContainedIn(params Type[]) : UIControl.UIControlAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
BeginTracking(UITouch, UIEvent) : bool
Indicates that a touch related to the specified event has entered the UIControl's bounds.
CancelTracking(UIEvent)
Stops tracking related to the specified event.
ContinueTracking(UITouch, UIEvent) : bool
Called repeatedly as the UIControl tracks a touch within its bounds, related to the specified event.|Called repeatedly as the UIControl tracks a touch within its bounds, related to the givespecified event.
EndTracking(UITouch, UIEvent)
Indicates that the last touch for the given event has completed, indicating that tracking should stop.
GetActions(Foundation.NSObject, UIControlEvent) : string[]
The actions associated with a target and control event.
static
GetAppearance<T>() : UIControl.UIControlAppearance
The strongly-typed IUIAppearance for this object.
static
GetAppearance<T>(UITraitCollection) : UIControl.UIControlAppearance
Documentation for this section has not yet been entered.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UIControl.UIControlAppearance
Documentation for this section has not yet been entered.
RemoveTarget(EventHandler, UIControlEvent)
Removes a previously installed event handler for the specified event list.
RemoveTarget(Foundation.NSObject, ObjCRuntime.Selector, UIControlEvent)
Removes a target and action for a particular event or events.
SendAction(ObjCRuntime.Selector, Foundation.NSObject, UIEvent)
Indicates that an event has occurred and sends an action message to the application for dispatch to a target.
SendActionForControlEvents(UIControlEvent)
Sends action messages for the specified control events.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIControl object.

Public Events

AllEditingEventsRaised on any editing events produced.
AllEventsRaised for any event produced.
AllTouchEventsRaised for any touch event produced.
EditingChangedThe component changed.
EditingDidBeginRaised when editing has started.
EditingDidEndRaised when editing ended.
EditingDidEndOnExitRaised on didEndOnexit
TouchCancelThe touch event has been canceled.
TouchDownRaised when the user touches the control.
TouchDownRepeatRaised when the user double taps the control.
TouchDragEnterRaised on TouchDragEnter events.
TouchDragExitRaised on TouchDragExit events.
TouchDragInsideRaised oN TouchDragInside events.
TouchDragOutsideRaised on TouchDragOutside events.
TouchUpInsideRaised on TouchUpInside events.
TouchUpOutsideRaised on TouchUpOutside events.
ValueChangedThe value has changed.