Skip to main content

CustomBestFitEventArgs(GridColumn, BestFitMode) Constructor

Initializes a new instance of the CustomBestFitEventArgs class with the specified settings.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public CustomBestFitEventArgs(
    GridColumn column,
    BestFitMode bestFitMode
)

Parameters

Name Type Description
column GridColumn

A GridColumn that is a column for which an event has been raised.

bestFitMode BestFitMode

A BestFitMode object that specifies how the optimal width required for a column to completely display its contents is calculated. This value is assigned to the CustomBestFitEventArgsBase.BestFitMode property.

See Also