---
title: NSLayoutManager.ControlCharacterAction
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nslayoutmanager/controlcharacteraction
---

# NSLayoutManager.ControlCharacterAction

Constants that describe actions for control characters.

## Declaration

```swift
struct ControlCharacterAction
```

## Overview

Overview These constants layoutManager(_:shouldUse:forControlCharacterAt:) delegate method uses.

## Topics

### Actions

- [containerBreak](appkit/nslayoutmanager/controlcharacteraction/containerbreak.md)
- [horizontalTab](appkit/nslayoutmanager/controlcharacteraction/horizontaltab.md)
- [lineBreak](appkit/nslayoutmanager/controlcharacteraction/linebreak.md)
- [paragraphBreak](appkit/nslayoutmanager/controlcharacteraction/paragraphbreak.md)
- [whitespace](appkit/nslayoutmanager/controlcharacteraction/whitespace.md)
- [zeroAdvancement](appkit/nslayoutmanager/controlcharacteraction/zeroadvancement.md)

### Initializers

- [init(rawValue:)](appkit/nslayoutmanager/controlcharacteraction/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Invalidating glyphs and layout

- [layoutManagerDidInvalidateLayout(_:)](appkit/nslayoutmanagerdelegate/layoutmanagerdidinvalidatelayout(_:).md)
- [layoutManager(_:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:)](appkit/nslayoutmanagerdelegate/layoutmanager(_:shouldgenerateglyphs:properties:characterindexes:font:forglyphrange:).md)
- [layoutManager(_:shouldUse:forControlCharacterAt:)](appkit/nslayoutmanagerdelegate/layoutmanager(_:shoulduse:forcontrolcharacterat:).md)
