BestFitMode Enum
Contains values that specify “best-fit” modes for lookup editors.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
Members
Name | Description |
---|---|
None
|
The “best-fit” functionality is not invoked. |
BestFit
|
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. |
BestFitResizePopup
|
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 RepositoryItemPopupBase.PopupFormMinSize property. |
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BestFitMode enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.