UIControlEvent UIControlEvent Enum


An enumeration indicating various types of events.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIControlEvent
type UIControlEvent = 


AllEditingEvents AllEditingEvents 983040

All editing events for the UITextField.

AllEvents AllEvents 4294967295

All events

AllTouchEvents AllTouchEvents 4095

All touch events.

ApplicationReserved ApplicationReserved 251658240

This mask describes the range of bytes available for application events. Any values within [0x01000000,0x0f000000] can be used as application specific events.

EditingChanged EditingChanged 131072

UITextField event: the contents changed.

EditingDidBegin EditingDidBegin 65536

UITextField event: editing started.

EditingDidEnd EditingDidEnd 262144

UITextField event: editing finished.

EditingDidEndOnExit EditingDidEndOnExit 524288

UITextField event: editing ended.

PrimaryActionTriggered PrimaryActionTriggered 8192
SystemReserved SystemReserved 4026531840

Mask of events reserved for system use.

TouchCancel TouchCancel 256

The system is cancelling the touch event.

TouchDown TouchDown 1

Touch down event.

TouchDownRepeat TouchDownRepeat 2

Repeated touch-down event. The UITouch.TapCount property will be greater than one.

TouchDragEnter TouchDragEnter 16

A dragging finger has entered the control.

TouchDragExit TouchDragExit 32

A dragging finger has left the bounds of the control.

TouchDragInside TouchDragInside 4

A finger is being dragged within the control.

TouchDragOutside TouchDragOutside 8

A finger is being dragged outside of the bounds of the control, but close to it.

TouchUpInside TouchUpInside 64

Touch-up event within the control.

TouchUpOutside TouchUpOutside 128

Touch-up event outside the control.

ValueChanged ValueChanged 4096

The value changed, emitted by various controls.


The list of events for UIControl objects.

Applies to