# ContentPosition enum

Namespace: [Grasshopper2.UI.Flex](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.flex.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum ContentPosition
```

Enumerates the possible positions content can have within an IControl.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Top | 0 | The top edge of the content is coincident with the top edge of the inner bounds. |
| Bottom | 1 | The bottom edge of the content is coincident with the bottom edge of the inner bounds. |
| Left | 2 | The left edge of the content is coincident with the left edge of the inner bounds. |
| Right | 3 | The right edge of the content is coincident with the right edge of the inner bounds. |
| Centre | 4 | The center of the content is coincident with the centre of the inner bounds. |
| Fit | 5 | The content is scaled to fit the inner bounds as best as possible, Though content is not enlarged beyond 100%. |
| HundredPercent | 6 | Maintain the current positioning, but adjust the zoom to 100%. |
| TopLeft | 7 | The top left corner of the content is coincident with the top left corner of the inner bounds. |
| TopRight | 8 | The top right corner of the content is coincident with the top right corner of the inner bounds. |
| BottomLeft | 9 | The bottom left corner of the content is coincident with the bottom left corner of the inner bounds. |
| BottomRight | 10 | The bottom right corner of the content is coincident with the bottom right corner of the inner bounds. |
