Skip to content
ChartForgeX
Enum

VisualCanvasTextFitPolicy

ChartForgeX.Composition

Namespace
ChartForgeX.Composition
Assembly
ChartForgeX.Visuals
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Controls how information tile text is fitted when the tile is narrow or short.

Inheritance

  • Enum
  • VisualCanvasTextFitPolicy

Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 3

Values

public const VisualCanvasTextFitPolicy Auto #

Use the balanced default: wrap when possible and shrink slightly before truncating.

Value: 0
public const VisualCanvasTextFitPolicy SingleLineEllipsis #

Keep each tile text role on one line and trim with an ellipsis when needed.

Value: 1
public const VisualCanvasTextFitPolicy Wrap #

Wrap text across the available tile lines and trim only the final overflowing line.

Value: 2
public const VisualCanvasTextFitPolicy ShrinkToFit #

Prefer one-line text and reduce font sizes before trimming with an ellipsis.

Value: 3
public const VisualCanvasTextFitPolicy WrapThenShrink #

Wrap text first, then reduce font sizes if the tile still cannot contain the text.

Value: 4