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

RepositoryItemSearchControl.ShowClearButton Property

Gets or sets whether the Clear Button is displayed in the SearchControl

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
[SmartTagProperty("Show Clear Button", "", 1)]
public bool ShowClearButton { get; set; }

Property Value

Type Default Description
Boolean **true**

true, if the Clear Button is displayed; otherwise, false.

Remarks

The Clear Button allows an end-user to clear the text typed in the SearchControl‘s search box. To hide the Clear Button, which is displayed by default, set the ShowClearButton property to false.

SearchControl_ClearButton

See Also