Back to Devexpress

TextColumnBase.LineBreakMode Property

maui-devexpress-dot-maui-dot-datagrid-dot-textcolumnbase.md

latest2.0 KB
Original Source

TextColumnBase.LineBreakMode Property

Gets or sets how the grid handles text that cannot fit on one line within a cell. This is a bindable property.

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

csharp
public LineBreakMode LineBreakMode { get; set; }

Property Value

TypeDescription
LineBreakMode

The line break mode.

|

Remarks

Use the LineBreakMode property to wrap or truncate text that is too large to fit in the column width. The following modes are available:

|

LineBreakMode

|

Image

| | --- | --- | |

WordWrap

|

| |

CharacterWrap[1]

|

| |

TailTruncation

|

| |

MiddleTruncation

|

| |

HeadTruncation

|

| |

NoWrap

|

|

Use the GridColumn.HeaderCaptionLineBreakMode property to adjust the column caption.

Footnotes

  1. On Android devices, CharacterWrap has the same effect as WordWrap because of platform specifics.

See Also

TextColumnBase Class

TextColumnBase Members

DevExpress.Maui.DataGrid Namespace