API Reference
Class
VisualCanvasTextFitPolicy
Controls how information tile text is fitted when the tile is narrow or short.
Inheritance
- Object
- VisualCanvasTextFitPolicy
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method VisualCanvas.AddInfoTile
- Method VisualCanvas.AddInfoTile
- Method VisualCanvasInfoTileLayer.WithTextFitPolicy
Fields
Auto #Use the balanced default: wrap when possible and shrink slightly before truncating.
SingleLineEllipsis #Keep each tile text role on one line and trim with an ellipsis when needed.
Wrap #Wrap text across the available tile lines and trim only the final overflowing line.
ShrinkToFit #Prefer one-line text and reduce font sizes before trimming with an ellipsis.
WrapThenShrink #Wrap text first, then reduce font sizes if the tile still cannot contain the text.