Trimming Enum

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.v20.1.dll

Declaration

[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")]
public enum Trimming
<ResourceFinder(GetType(ResFinder), "PropertyNamesRes")>
Public Enum Trimming

Members

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.

Related API Members

The following properties accept/return Trimming values:

Remarks

These enumeration values are used to set the TextOptions.Trimming property.

See Also