<!--
{
  "availability" : [
    "tvOS: 9.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVElementAlignment",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "c:@E@TVElementAlignment"
  },
  "title" : "TVElementAlignment"
}
-->

# TVElementAlignment

Location of an item inside of an element on the horizontal axis.

```
enum TVElementAlignment
```

## Topics

### Constants

[`TVElementAlignment.undefined`](/documentation/TVMLKit/TVElementAlignment/undefined)

The alignment has not been defined for the item.

[`TVElementAlignment.left`](/documentation/TVMLKit/TVElementAlignment/left)

The item is aligned along the left side of the containing element.

[`TVElementAlignment.center`](/documentation/TVMLKit/TVElementAlignment/center)

The item is aligned in the center of the containing element.

[`TVElementAlignment.right`](/documentation/TVMLKit/TVElementAlignment/right)

The item is aligned along the right of the containing element.

[`TVElementAlignment.leading`](/documentation/TVMLKit/TVElementAlignment/leading)

The item is aligned along the leading edge of the containing element.

[`TVElementAlignment.trailing`](/documentation/TVMLKit/TVElementAlignment/trailing)

The item is aligned along the trailing edge of the containing element.



---

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)