Back to Devexpress

BestFitArea Enum

wpf-devexpress-dot-xpf-dot-grid-dc2185f3.md

latest2.2 KB
Original Source

BestFitArea Enum

Lists the values used to specify which interface elements should be taken into account when adjusting the column width.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Flags]
public enum BestFitArea
vb
<Flags>
Public Enum BestFitArea

Members

NameDescription
None

Nothing should be taken into account when adjusting the column width.

| | Header |

A column header’s text should be taken into account when adjusting the column width.

| | Rows |

Grid rows’ values should be taken into account when adjusting the column width.

| | TotalSummary |

The total summary’s text should be taken into account when adjusting the column width.

| | GroupSummary |

The group summary’s text should be taken into account when adjusting the column width.

| | GroupFooter |

The group footer’s text should be taken into account when adjusting the column width.

| | All |

All elements of a column (row cells, header, total summary) should be taken into account when adjusting the column width.

|

The following properties accept/return BestFitArea values:

Remarks

Values listed by the BestFitArea enumeration are used to set the TableView.BestFitArea and ColumnBase.BestFitArea properties.

See Also

TableView.BestFitArea

ColumnBase.BestFitArea

DevExpress.Xpf.Grid Namespace