Skip to main content

CustomBestFitEventArgs.Column Property

Provides access to a grid column whose width should be adjusted.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public GridColumn Column { get; }

Property Value

Type Description

A GridColumn object that represents the column, for which this event has been raised.


Use the Column property to obtain the grid column whose width should be adjusted, and the CustomBestFitEventArgsBase.BestFitMode property to obtain the mode that defines how to adjust the column width. You can use these values to manually calculate the column width, or to specify a list of CustomBestFitEventArgsBase.BestFitRows that should be in effect for adjusting the column width.

See Also