<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "tvOS: 14.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIListContentConfiguration-swift.struct/TextProperties-swift.struct/TextAlignment",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit26UIListContentConfigurationV14TextPropertiesV0E9AlignmentO"
  },
  "title" : "UIListContentConfiguration.TextProperties.TextAlignment"
}
-->

# UIListContentConfiguration.TextProperties.TextAlignment

Constants that specify the visual alignment of the text.

```
enum TextAlignment
```

## Topics

### Text alignment

[`case center`](/documentation/UIKit/UIListContentConfiguration-swift.struct/TextProperties-swift.struct/TextAlignment/center)

The text has centered alignment.

[`case justified`](/documentation/UIKit/UIListContentConfiguration-swift.struct/TextProperties-swift.struct/TextAlignment/justified)

The text has justified alignment.

[`case natural`](/documentation/UIKit/UIListContentConfiguration-swift.struct/TextProperties-swift.struct/TextAlignment/natural)

The text uses the default alignment that the system associates with the current localization of the app.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)