Skip to content

FloatVerticalAlignment ​

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

Specifies how a floated widget aligns vertically relative to its anchor.

csharp
public enum FloatVerticalAlignment

Fields ​

AlignBottom ​

Float's bottom edge aligns with anchor's bottom edge.

Returns: FloatVerticalAlignment

csharp
AlignBottom = 2

AlignTop ​

Float's top edge aligns with anchor's top edge.

Returns: FloatVerticalAlignment

csharp
AlignTop = 1

ExtendBottom ​

Float's top edge aligns with anchor's bottom edge (place below).

Returns: FloatVerticalAlignment

csharp
ExtendBottom = 3

ExtendTop ​

Float's bottom edge aligns with anchor's top edge (place above).

Returns: FloatVerticalAlignment

csharp
ExtendTop = 4

None ​

No vertical alignment — use absolute Y.

Returns: FloatVerticalAlignment

csharp
None = 0

Released under the MIT License.