ASPxButtonEditBase.ClearButton Property
In This Article
Gets the settings of the editor’s Clear button.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual ClearButton ClearButton { get; }
#Property Value
Type | Description |
---|---|
Clear |
A Clear |
#Remarks
The Clear button allows users to clear the editor value. The button is displayed when the editor is hovered or focused, and is not empty. Use the ClearButton property to access and customize the settings of the Clear button.
<dx:ASPxButtonEdit ID="TextBox" runat="server" NullText="Enter your name...">
<ClearButton DisplayMode="OnHover"></ClearButton>
</dx:ASPxButtonEdit>
<dx:ASPxButtonEdit ID="PasswordTextBox" runat="server" NullText="Enter your password..." Password="true" >
<ClearButton DisplayMode="OnHover"></ClearButton>
</dx:ASPxButtonEdit>
See Also