CustomBestFitEventArgs(GridColumn, BestFitMode) Constructor

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

Namespace: DevExpress.Xpf.Grid

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

Declaration

public CustomBestFitEventArgs(
    GridColumn column,
    BestFitMode bestFitMode
)
Public Sub New(
    column As GridColumn,
    bestFitMode As 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