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

CustomBestFitEventArgs.Column Property

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

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public GridColumn Column { get; }

#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