API Reference
Enum
VisualCanvasTextFitPolicy
Controls how information tile text is fitted when the tile is narrow or short.
Inheritance
- Enum
- VisualCanvasTextFitPolicy
Usage
Explore 8 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.
Returned or exposed by 6
Accepted by parameters 2
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from Enum
Parameters
- obj Object?
ToString 4 overloads
public String ToString(IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
public String ToString(String? format, IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String?
- provider IFormatProvider?
Values
public const VisualCanvasTextFitPolicy Auto #Use the balanced default: wrap when possible and shrink slightly before truncating.
Value:
0public const VisualCanvasTextFitPolicy SingleLineEllipsis #Keep each tile text role on one line and trim with an ellipsis when needed.
Value:
1public const VisualCanvasTextFitPolicy Wrap #Wrap text across the available tile lines and trim only the final overflowing line.
Value:
2public const VisualCanvasTextFitPolicy ShrinkToFit #Prefer one-line text and reduce font sizes before trimming with an ellipsis.
Value:
3public const VisualCanvasTextFitPolicy WrapThenShrink #Wrap text first, then reduce font sizes if the tile still cannot contain the text.
Value:
4