Skip to content

TextOverflow

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

Specifies how a handles text that exceeds its available width.

csharp
public enum TextOverflow

Fields

Ellipsis

Text is truncated with an ellipsis ("...") when it exceeds the available width.

Returns: TextOverflow

csharp
Ellipsis = 2

Truncate

Text is truncated (clipped) when it exceeds its allocated bounds.

Returns: TextOverflow

csharp
Truncate = 0

Wrap

Text wraps to the next line when it exceeds the available width.

Returns: TextOverflow

csharp
Wrap = 1

Remarks

This enum controls the layout and rendering behavior when text content is wider than the constraints allow. The choice affects both the measured size of the widget and how the text is displayed.

Released under the MIT License.