windowsforms-devexpress-dot-utils-e5d67cbf.md
List values that specify how the characters in a string that do not completely fit into a layout shape are trimmed.
Namespace : DevExpress.Utils
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")]
public enum Trimming
<ResourceFinder(GetType(ResFinder), "PropertyNamesRes")>
Public Enum Trimming
| Name | Description |
|---|---|
Default |
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.
|
| None |
Specifies no trimming.
|
| Character |
Specifies that the text is trimmed to the nearest character.
|
| Word |
Specifies that text is trimmed to the nearest word.
|
| EllipsisCharacter |
Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.
|
| EllipsisWord |
Specifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line.
|
| EllipsisPath |
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. This mode is not supported if DirectX Hardware Acceleration is enabled.
|
The following properties accept/return Trimming values:
These enumeration values are used to set the TextOptions.Trimming property.
See Also