---
title: allControlEvents
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicontrol/allcontrolevents
---

# allControlEvents

Returns the events for which the control has associated actions.

## Declaration

```swift
var allControlEvents: UIControl.Event { get }
```

## Return Value

Return Value A bitmask of constants indicating the events for which this control has associated actions. For a list of possible constants, see the UIControl.Event type.

## Discussion

Discussion You can use this method to ascertain which control events trigger actions. More than one action method may be called for a given event.

## See Also

### Managing the control’s targets and actions

- [addTarget(_:action:for:)](uikit/uicontrol/addtarget(_:action:for:).md)
- [removeTarget(_:action:for:)](uikit/uicontrol/removetarget(_:action:for:).md)
- [allTargets](uikit/uicontrol/alltargets.md)
- [addAction(_:for:)](uikit/uicontrol/addaction(_:for:).md)
- [removeAction(_:for:)](uikit/uicontrol/removeaction(_:for:).md)
- [removeAction(identifiedBy:for:)](uikit/uicontrol/removeaction(identifiedby:for:).md)
- [actions(forTarget:forControlEvent:)](uikit/uicontrol/actions(fortarget:forcontrolevent:).md)
- [enumerateEventHandlers(_:)](uikit/uicontrol/enumerateeventhandlers(_:).md)
- [UIControl.Event](uikit/uicontrol/event.md)
