---
title: ControlActiveState
framework: swiftui
role: symbol
role_heading: Enumeration
path: swiftui/controlactivestate
---

# ControlActiveState

The active appearance expected of controls in a window.

## Declaration

```swift
enum ControlActiveState
```

## Overview

Overview ControlActiveState and EnvironmentValues.controlActiveState are deprecated, use EnvironmentValues.appearsActive instead.

## Topics

### Getting control active states

- [ControlActiveState.key](swiftui/controlactivestate/key.md)
- [ControlActiveState.active](swiftui/controlactivestate/active.md)
- [ControlActiveState.inactive](swiftui/controlactivestate/inactive.md)

## Relationships

### Conforms To

- [CaseIterable](swift/caseiterable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
