Skip to main content

GridColumn.HeaderCaptionLineBreakMode Property

Specifies how to handle the caption text if it cannot fit on one line.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

#Declaration

C#
[XtraSerializableProperty]
public LineBreakMode HeaderCaptionLineBreakMode { get; set; }

#Property Value

Type Description
LineBreakMode

A value that specifies how to wrap or truncate the column caption.

#Remarks

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

HeaderCaptionLineBreakMode

Image

WordWrap

HeaderCaptionLineBreakMode.WordWrap

CharacterWrap

HeaderCaptionLineBreakMode.CharacterWrap

TailTruncation

HeaderCaptionLineBreakMode.TailTruncation

MiddleTruncation

HeaderCaptionLineBreakMode.MiddleTruncation

HeadTruncation

HeaderCaptionLineBreakMode.HeadTruncation

NoWrap

HeaderCaptionLineBreakMode.NoWrap

See Also