Skip to main content

TcxControlOptionsFindPanel.ShowCloseButton Property

Specifies if the Find Panel shows the Close button.

Declaration

property ShowCloseButton: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

A user can click the Close button to discard the active filter or search criteria, clear the Find box, and close the Find Panel. You can set the ClearFindFilterTextOnClose property to False to preserve the search results and the Find box’s content whenever the Find Panel closes.

Set the ShowCloseButton property to False to hide the Close button. Note that a user can still press the Esc key to close the Find Panel while the Find box is empty.

The ShowCloseButton property’s default value is True.

See Also