List values that specify how the characters in a string that do not completely fit into a layout shape are trimmed.
[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")] public enum Trimming
<ResourceFinder(GetType(ResFinder), "PropertyNamesRes")> Public Enum Trimming
Trimming is determined by a control's current settings. The default value is automatically set for a control if an end-user doesn't specify a value.
Specifies no trimming.
Specifies that the text is trimmed to the nearest character.
Specifies that text is trimmed to the nearest word.
Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.
Specifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line.
The center is removed from trimmed lines and replaced by an ellipsis. The algorithm keeps as much of the last slash-delimited segment of the line as possible.
Related API Members
The following properties accept/return Trimming values:
These enumeration values are used to set the TextOptions.Trimming property.