ClearButton.DisplayMode Property
Controls the Clear Button availability in a non-empty editor’s text box.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(ClearButtonDisplayMode.Auto)]
public ClearButtonDisplayMode DisplayMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Clear |
Auto | One of the Clear |
Available values:
Name | Description |
---|---|
Auto | The clear button is displayed on touch devices only. |
Never | The clear button is not displayed. |
On |
The clear button is displayed when an editor is hovered or focused. |
Always | The clear button is always visible except for empty editors. |
#Remarks
The Clear button allows end-users to clear an editor value, i.e., to set the editor value to null. The button is displayed when the editor is not empty.
Use the DisplayMode property to specify the visibility of the clear button.
Note
For ASPx
When the Display
Note
For ASPx
When the Displaytrue
.
Note
For ASPx
When the Display