Back to Devexpress

TcxGridFindPanelOptions.ShowClearButton Property

vcl-cxgridcustomtableview-dot-tcxgridfindpaneloptions-e2c1a666.md

latest1.7 KB
Original Source

TcxGridFindPanelOptions.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:

|

ShowClearButton

Property 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.

|

Default Value

The ShowClearButton property’s default value is True.

See Also

TcxGridFindPanelOptions.ClearFindFilterTextOnClose

TcxGridFindPanelOptions Class

TcxGridFindPanelOptions Members

cxGridCustomTableView Unit