ControlViewState

public enum ControlViewState

Specifies the state of a control view.

  • Default control view state.

    Declaration

    Swift

    case normal
  • Specifies control view is highlighted, e.g. by being hovered over by the mouse cursor.

    Declaration

    Swift

    case highlighted
  • Specifies control view is selected, e.g. by pressing down on the mouse within the control’s bounds.

    Declaration

    Swift

    case selected
  • Specifies control view is disabled, and should not respond to normal UI interaction events.

    Declaration

    Swift

    case disabled
  • Specifies control view is focused and receives keyboard events, i.e. it is the first responder in the responder chain.

    Declaration

    Swift

    case focused