CustomBestFitEventArgsBase(ColumnBase, BestFitMode) Constructor

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.Core.dll


public CustomBestFitEventArgsBase(
    ColumnBase column,
    BestFitMode bestFitMode


Name Type Description
column ColumnBase

A ColumnBase descendant that specifies 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