Skip to main content

CustomBestFitEventArgsBase(ColumnBase, BestFitMode) Constructor

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public CustomBestFitEventArgsBase(
    ColumnBase column,
    BestFitMode bestFitMode
)

Parameters

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