Skip to main content

TextColumnBase.LineBreakMode Property

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

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

[XtraSerializableProperty]
public LineBreakMode LineBreakMode { get; set; }

Property Value

Type Description
LineBreakMode

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

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

LineBreakMode.WordWrap

CharacterWrap[1]

LineBreakMode.CharacterWrap

TailTruncation

LineBreakMode.TailTruncation

MiddleTruncation

LineBreakMode.MiddleTruncation

HeadTruncation

LineBreakMode.HeadTruncation

NoWrap

LineBreakMode.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