CustomBestFitEventArgs.Column Property

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

Namespace: DevExpress.Xpf.Grid

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

Declaration

public GridColumn Column { get; }
Public ReadOnly Property Column As GridColumn

Property Value

Type Description
GridColumn

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

Remarks

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