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

# TVElementPosition

Location of an element relative to the screen or its containing element.

```
enum TVElementPosition
```

## Topics

### Constants

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

The position has not been defined.

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

Position the element in the center of its containing element.

[`TVElementPosition.top`](/documentation/TVMLKit/TVElementPosition/top)

Position the element at the top of the containing element.

[`TVElementPosition.bottom`](/documentation/TVMLKit/TVElementPosition/bottom)

Position the element at the bottom of the containing element.

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

Position the element along the left side of the containing element.

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

Position the element along the right side of the containing element.

[`TVElementPosition.topLeft`](/documentation/TVMLKit/TVElementPosition/topLeft)

Position the element in the top-left of the containing element.

[`TVElementPosition.topRight`](/documentation/TVMLKit/TVElementPosition/topRight)

Position the element in the top-right of the containing element.

[`TVElementPosition.bottomLeft`](/documentation/TVMLKit/TVElementPosition/bottomLeft)

Position the element in the bottom-left of the containing element.

[`TVElementPosition.bottomRight`](/documentation/TVMLKit/TVElementPosition/bottomRight)

Position the element in the bottom-right of the containing element.

[`TVElementPosition.header`](/documentation/TVMLKit/TVElementPosition/header)

Position the element in the header area of the containing element.

[`TVElementPosition.footer`](/documentation/TVMLKit/TVElementPosition/footer)

Position the element in the footer area of the containing element.

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

Position the element in the leading edge of the containing element.

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

Position the element in the trailing edge of the containing element.

[`TVElementPosition.topLeading`](/documentation/TVMLKit/TVElementPosition/topLeading)

Position the element in the top-leading edge of the containing element.

[`TVElementPosition.topTrailing`](/documentation/TVMLKit/TVElementPosition/topTrailing)

Position the element in the top-trailing edge of the containing element.

[`TVElementPosition.bottomLeading`](/documentation/TVMLKit/TVElementPosition/bottomLeading)

Position the element in the bottom-leading edge of the containing element.

[`TVElementPosition.bottomTrailing`](/documentation/TVMLKit/TVElementPosition/bottomTrailing)

Position the element in the bottom-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)