Modifier

Partager via


UIControlEvent Enum

Definition

An enumeration indicating various types of events.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
TouchDown 1

Touch down event.

TouchDownRepeat 2

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

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.

TouchDragEnter 16

A dragging finger has entered the control.

TouchDragExit 32

A dragging finger has left the bounds of the control.

TouchUpInside 64

Touch-up event within the control.

TouchUpOutside 128

Touch-up event outside the control.

TouchCancel 256

The system is cancelling the touch event.

AllTouchEvents 4095

All touch events.

ValueChanged 4096

The value changed, emitted by various controls.

PrimaryActionTriggered 8192
EditingDidBegin 65536

UITextField event: editing started.

EditingChanged 131072

UITextField event: the contents changed.

EditingDidEnd 262144

UITextField event: editing finished.

EditingDidEndOnExit 524288

UITextField event: editing ended.

AllEditingEvents 983040

All editing events for the UITextField.

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.

SystemReserved 4026531840

Mask of events reserved for system use.

AllEvents 4294967295

All events

Remarks

The list of events for UIControl objects.

Applies to