ClearButton.Visibility Property
OBSOLETE
Use the Display
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(AutoBoolean.Auto)]
[Obsolete("Use the DisplayMode property instead.")]
public AutoBoolean Visibility { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Auto |
Auto |
Note that some editor properties affect Clear button visibility as well. To learn more, see the notes below. |
Available values:
Name | Description |
---|---|
Auto | The value is determined automatically, based on the type of the end-user’s device: touch or non-touch. |
True | Corresponds to a Boolean value of |
False | Corresponds to a Boolean value of |
#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 hovered or focused, and is not empty.
Use the Visibility property to specify the visibility of the clear button.
Note
For ASPx
When the Visibility property is set to Auto, the Clear button is displayed on touch devices only, when the editor’s ASPx
Note
For ASPx
When the Visibility property is set to Auto, the Clear button is displayed on touch devices only, when the editor’s Allowtrue
.