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

CustomBestFitEventArgsBase(ColumnBase, BestFitMode) Constructor

In This Article

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.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