Skip to main content
All docs
V25.1
  • .NET 8.0+

    WebMessageOptions.CssClass Property

    In ASP.NET Core Blazor applications, specifies the CSS class applied to the widget that displays notifications.

    Namespace: DevExpress.ExpressApp

    Assembly: DevExpress.ExpressApp.v25.1.dll

    NuGet Package: DevExpress.ExpressApp

    Declaration

    public string CssClass { get; set; }

    Property Value

    Type Description
    String

    The CSS class applied to the alert widget.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to CssClass
    MessageOptions
    .Web .CssClass

    Remarks

    Use the CssClass property to apply a custom class to the widget that displays notifications. After this, you can customize the appearance of the alert widget in your application’s CSS.

    See Also