Skip to content

EnumEditorAttribute.MinimumResultsForSearch property

The minimum number of results that must be initially (after opening the dropdown for the first time) populated in order to keep the search field. This is useful for cases where local data is used with just a few results, in which case the search box is not very useful and wastes screen space. AlwaysShowSearch shows it for any number of results, which is what the editor does when it is not set, unless ComboboxEditor.defaults.minimumResultsForSearch says otherwise, and NeverShowSearch, or any other negative value, hides it permanently.

public int MinimumResultsForSearch { get; set; }

See Also