Skip to main content

CustomBestFitEventArgs Class

Provides data for the TableView.CustomBestFit event.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

public class CustomBestFitEventArgs :
    CustomBestFitEventArgsBase

#Remarks

The CustomBestFitEventArgs class introduces the CustomBestFitEventArgs.Column property that specifies the grid column whose width should be adjusted, and the CustomBestFitEventArgsBase.BestFitMode property that specifies the mode that defines how to adjust the column width. Also, in case you want to define a custom list of data rows for calculating a column's width, you can assign them to the CustomBestFitEventArgsBase.BestFitRows property.

See Also