Skip to content

FloatHorizontalAlignment

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

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

csharp
public enum FloatHorizontalAlignment

Fields

AlignLeft

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

Returns: FloatHorizontalAlignment

csharp
AlignLeft = 1

AlignRight

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

Returns: FloatHorizontalAlignment

csharp
AlignRight = 2

ExtendLeft

Float's right edge aligns with anchor's left edge (place beside, to the left).

Returns: FloatHorizontalAlignment

csharp
ExtendLeft = 4

ExtendRight

Float's left edge aligns with anchor's right edge (place beside, to the right).

Returns: FloatHorizontalAlignment

csharp
ExtendRight = 3

None

No horizontal alignment — use absolute X.

Returns: FloatHorizontalAlignment

csharp
None = 0

Released under the MIT License.