ISearchControlProperties.ClearButtonShowMode Property
Gets or sets the way the clear button within this Search Panel is shown.
Namespace: DevExpress.XtraBars.Docking2010.Customization
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Description |
---|---|
DevExpress. |
A DevExpress. |
#Remarks
A clear button within the Search Panel can be displayed differently depending on the ClearButtonShowMode property values:
- Auto - the clear button is automatically displayed when there is text entered in the search panel. The button is not displayed if the search bar is empty.
- AlwaysVisible - the clear button is always shown whether or not there is any text entered into the Search Panel.
- Hidden - the clear button is always hidden.
- ReplaceSearchButton - the default value that specifies that if there is any text entered into the search panel’s search bar, the search button is automatically replaced with the clear button. Thus, the search button is visible only if the search panel is empty.
Important
Do not set the ISearch