# FloatingPosition 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 FloatingPosition
```

Enumerates the possible positional states for floating buttons.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Anchored | 0 | Button is positioned at or near the anchor in content coordinates. |
| TopLeft | 1 | Button is aligned with the left edge of the control. |
| TopRight | 2 | Button is aligned with the right edge of the control. |
| BottomLeft | 3 | Button is aligned with the bottom edge of the control. |
| BottomRight | 4 | Button is positioned near the top right corner of the control. |
