Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridColumn.HeaderCaptionLineBreakMode Property

Gets or sets how to handle the caption text if it cannot fit on one line. This is a bindable property.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

C#
public LineBreakMode HeaderCaptionLineBreakMode { get; set; }

#Property Value

Type Description
LineBreakMode

The line break mode.

#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