Skip to main content
A newer version of this page is available. .

TcxGridFindPanelOptions.MRUItems Property

Provides access to the most recently used search strings (MRU list for short) applied to grid View records using the Find Panel.

Declaration

property MRUItems: TStrings read; write;

Property Value

Type
TStrings

Remarks

An MRU list maintains a search history and thus allows a user to select a recent search request and apply it again. A user can click the Find box’s MRU list button to invoke the drop-down list that displays recent search requests. The panel shows the button if the list is not empty.

MRU List

The Find Panel adds a string to the MRU list if a user presses Enter or one of the following occurs:

Search Type

Condition

Delayed Automatic

A user clicks the Find button (in filter mode).

The search starts when the Find box is not focused.

Manual

A user moves focus from the Find box via the mouse or the Tab/Shift+Tab key combination and the FocusViewOnApplyFilter property value is set to True.

A user presses the Down Arrow key when the Find box’s drop-down list is closed and the FocusViewOnApplyFilter property value is set to False.

The Find Panel always adds a string at the MRU list’s beginning if the string is new or matches any of the previously used list items. The list deletes the item if its index exceeds the MRUItemsListCount property value.

See Also