Back to Devexpress

TcxControlOptionsFindPanel.ShowCloseButton Property

vcl-cxinplacecontainer-dot-tcxcontroloptionsfindpanel-b7095962.md

latest1.7 KB
Original Source

TcxControlOptionsFindPanel.ShowCloseButton Property

Specifies if the Find Panel shows the Close button.

Declaration

delphi
property ShowCloseButton: Boolean read; write; default True;

Property Value

TypeDefault
BooleanTrue

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

TcxControlOptionsFindPanel.ShowClearButton

TcxCustomGridTableController.HideFindPanel

TcxCustomTreeList.HideFindPanel

TcxCustomVerticalGrid.HideFindPanel

TcxGridFindPanelOptions.ShowCloseButton

TcxControlOptionsFindPanel Class

TcxControlOptionsFindPanel Members

cxInplaceContainer Unit