Skip to main content
A newer version of this page is available.

TextColumn.LineBreakMode Property

Specifies how the grid handles the text that cannot fit on one line within a cell.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public LineBreakMode LineBreakMode { get; set; }

Property Value

Type Description
LineBreakMode

A value that specifies how to wrap or truncate the text within cells.

Remarks

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

LineBreakMode

Image

WordWrap

LineBreakMode.WordWrap

CharacterWrap

LineBreakMode.CharacterWrap

TailTruncation

LineBreakMode.TailTruncation

MiddleTruncation

LineBreakMode.MiddleTruncation

HeadTruncation

LineBreakMode.HeadTruncation

NoWrap

LineBreakMode.NoWrap

To adjust the column caption, use the GridColumn.HeaderCaptionLineBreakMode property.

See Also