Back to Devexpress

TcxControlOptionsFindPanel.ShowClearButton Property

vcl-cxinplacecontainer-dot-tcxcontroloptionsfindpanel-963366ce.md

latest2.0 KB
Original Source

TcxControlOptionsFindPanel.ShowClearButton Property

Specifies if the Find Panel shows the Clear button.

Declaration

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

Property Value

TypeDefault
BooleanTrue

Remarks

A user can click the Clear button to clear the Find box and discard the active filter or search criteria.

Options include:

|

Value

|

Mode

| |

Filter

|

Search

| |

True

|

The Find Panel’s layout options can differently affect the button position:

  • Default Layout – The button appears at the right of the Find box.

  • Compact Layout – The button appears in the Find box if it is not empty.

|

The button appears in the Find box if it is not empty.

| |

False

|

The button is hidden. A user can press the Esc key to clear the Find box when it is focused.

|

Use the scxTreeListFindPanelClearButtonCaption and scxSvgFindPanelClearButtonCaption resource strings to localize the button’s caption in the ExpressQuantumTreeList Suite and ExpressVerticalGrid Suite DevExpress VCL products.

The ShowClearButton property’s default value is True.

See Also

TcxControlOptionsFindPanel.ClearFindFilterTextOnClose

TcxGridFindPanelOptions.ShowClearButton

TcxControlOptionsFindPanel Class

TcxControlOptionsFindPanel Members

cxInplaceContainer Unit