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 983040

All editing events for the UITextField.

AllEvents 4294967295

All events

AllTouchEvents 4095

All touch events.

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 131072

UITextField event: the contents changed.

EditingDidBegin 65536

UITextField event: editing started.

EditingDidEnd 262144

UITextField event: editing finished.

EditingDidEndOnExit 524288

UITextField event: editing ended.

PrimaryActionTriggered 8192
SystemReserved 4026531840

Mask of events reserved for system use.

TouchCancel 256

The system is cancelling the touch event.

TouchDown 1

Touch down event.

TouchDownRepeat 2

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

TouchDragEnter 16

A dragging finger has entered the control.

TouchDragExit 32

A dragging finger has left the bounds of the control.

TouchDragInside 4

A finger is being dragged within the control.

TouchDragOutside 8

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

TouchUpInside 64

Touch-up event within the control.

TouchUpOutside 128

Touch-up event outside the control.

ValueChanged 4096

The value changed, emitted by various controls.


The list of events for UIControl objects.

Applies to