Back to Devexpress

DxBackendOptions Class

dashboard-devexpress-dot-dashboardblazor-6464f675.md

latest1.6 KB
Original Source

DxBackendOptions Class

Contains options that allow you to configure the Dashboard component’s backend.

Namespace : DevExpress.DashboardBlazor

Assembly : DevExpress.Dashboard.v25.2.Blazor.dll

NuGet Package : DevExpress.Blazor.Dashboard

Declaration

csharp
public class DxBackendOptions :
    DxSettingsComponent
vb
Public Class DxBackendOptions
    Inherits DxSettingsComponent

Remarks

Use the RequestHttpHeaders property to specify HTTP headers that are sent to the server:

razor
<DxDashboard style="height: 800px;" Endpoint="api/dashboard">
    <DxBackendOptions RequestHttpHeaders="@headers"></DxBackendOptions>
</DxDashboard>

@code {
    public Dictionary<string, string> headers = new Dictionary<string, string>() { { "Auth", "AuthToken123" } };
}

Inheritance

Object ComponentBase DevExpress.DashboardBlazor.Native.DxSettingsComponent DxBackendOptions

See Also

DxBackendOptions Members

DevExpress.DashboardBlazor Namespace