BestFitMode Enum
Contains values that specify “best-fit” modes for lookup editors.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Members
Name | Description |
---|---|
None
|
The “best-fit” functionality is not invoked. |
Best
|
The “best-fit” functionality is invoked when opening the dropdown window for the first time, changing the proportional widths of the columns to best fit their contents. |
Best
|
The “best-fit” functionality is invoked when opening the dropdown window for the first time, changing the proportional widths of the columns according to their contents and resizing the dropdown window to fit all the columns. The dropdown window cannot be reduced to a size less than the minimum size specified by the editor’s Repository |
#Related API Members
The following properties accept/return BestFitMode values:
#Remarks
Lookup editors support the “best-fit” functionality that calculates the best width for columns in an editor’s dropdown. Use the RepositoryItemLookUpEditBase.BestFitMode property to specify the “best-fit” mode for lookup editors.