TdxOfficeSearchBoxProperties.MaxResultCount Property
Limits the number of listed search results.
Declaration
property MaxResultCount: Integer read; write; default dxOfficeSearchBoxDefaultMaxResultCount;
Property Value
| Type | Default | Description |
|---|---|---|
| Integer | dxOfficeSearchBoxDefaultMaxResultCount | The maximum number of search results in a drop-down list. |
Remarks
An Office Search Box editor displays found UI commands in a drop-down menu. Users can click menu items to execute corresponding UI commands.

You can use the MaxResultCount property to change the maximum size of a drop-down menu populated with search results. To exclude specific search results from the pop-up menu, handle the OnDropDownMenuItemAdding event.
Default Value
The MaxResultCount property’s default value is dxOfficeSearchBoxDefaultMaxResultCount.
See Also