Skip to main content
All docs
V24.1
Tab

EditButton.CssClass Property

Specifies the name of the CSS class applied to the edit button.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string CssClass { get; set; }

Property Value

Type Default Description
String String.Empty

The CSS class name.

Remarks

To define the appearance of the edit button, assign a CSS class name to the CssClass property.

.myEditButton {
    background-color: lightblue;
    color: black;
}
<dx:ASPxButtonEdit ID="ButtonEdit" runat="server">
    <!-- ... -->
    <Buttons>
        <dx:EditButton Text="AA" CssClass="myEditButton"/>
        <dx:EditButton Text="BB" />
    </Buttons>
</dx:ASPxButtonEdit>

Customize the edit button

See Also