Skip to main content
All docs
V25.1
  • DxExportSettings.BackgroundColor Property

    Specifies the background color in the exported file.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [Parameter]
    public string BackgroundColor { get; set; }

    Property Value

    Type Description
    String

    The background color in the exported file.

    Remarks

    The BackgroundColor property accepts the following formats:

    • Longhand and shorthand hexadecimal color values: #ffff00, #ff0.
    • RGB and RGBA color codes: rgb(255, 0, 0), rgba(0, 230, 0, 0.3).
    • HTML color name (case-insensitive): red, DarkGreen.

    Refer to the DxExportSettings class description for more information and an example.

    See Also