All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
Tag

ColumnBase.BestFitModeOnSourceChange Property

Gets or sets how to calculate the optimal width required for this column to completely display its contents when the grid's ItemsSource is changed.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

Declaration

public BestFitMode? BestFitModeOnSourceChange { get; set; }
Public Property BestFitModeOnSourceChange As BestFitMode?

Property Value

Type Default Description
Nullable<BestFitMode>

null

A mode that specifies how to calculate the optimal width.

Remarks

If the BestFitModeOnSourceChange property is set to null, the GridControl does not calculate the optimal width when the source is changed.

See Also