> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/bordermode.md).

# BorderMode

## Overview

BorderMode is an Enum that defines the border position of UI elements.

This is used in the BorderMode property of Frame and determines whether the border is placed inside, centered, or outside the element.

## Items

| Name    | Value | Description                                                      |
| ------- | ----- | ---------------------------------------------------------------- |
| Insert  | 0     | Places the border inside the element.                            |
| Middle  | 1     | Places the border in the center, along the edges of the element. |
| Outline | 2     | Places the border outside the element.                           |

## See also

{% content-ref url="/pages/7DgRoFrIqsM7aSVGSM90" %}
[Frame](/development/api-reference/classes/frame.md)
{% endcontent-ref %}
