Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V19.2
  • 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

    NuGet Package: DevExpress.XamarinForms.Grid

    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