Skip to main content
A newer version of this page is available. .
All docs
V21.1

DxJSCustomization.Identifier Property

Specifies the name of the object in window that contains the event handlers.

Namespace: DevExpress.DashboardBlazor

Assembly: DevExpress.Dashboard.v21.1.Blazor.dll

NuGet Package: DevExpress.Blazor.Dashboard

Declaration

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

Property Value

Type Description
String

An identifier that is a name of the object in window.

Remarks

To handle the DashboardControl events, create an object in window and add event handlers. Pass the object name to the Identifier property. In the following code the name is dashboardEvents:

window.dashboardEvents = {
    onBeforeRender: (args) => {
    // ...
        var dashboardControl = args.component;
        // ...
    },
    // ...
    extensions: {
        viewerApi: {
            onItemCaptionToolbarUpdated: function (e) {
            // ...
            }
        }
    }    
}

View Example: Blazor Server View Example: Blazor WebAssembly

See Also