AnchorPosition
Namespace: Hex1b.Widgets
Assembly: Hex1b.dll
Specifies the preferred position of a popup relative to its anchor widget.
csharp
public enum AnchorPositionFields
Above
Position the popup above the anchor, aligned to the anchor's left edge. Useful when there's no room below.
Returns: AnchorPosition
csharp
Above = 1Below
Position the popup below the anchor, aligned to the anchor's left edge. Common for dropdown menus.
Returns: AnchorPosition
csharp
Below = 0Left
Position the popup to the left of the anchor, aligned to the anchor's top edge.
Returns: AnchorPosition
csharp
Left = 2Right
Position the popup to the right of the anchor, aligned to the anchor's top edge. Common for cascading/submenu patterns.
Returns: AnchorPosition
csharp
Right = 3