Skip to main content
All docs
V25.1
  • DxJSCustomization.Identifier Property

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

    Namespace: DevExpress.DashboardBlazor

    Assembly: DevExpress.Dashboard.v25.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;
            // ...
            toolbox.menuItems.remove(createItem);
            // ...
        // Adds a new custom toolbar item to the dashboard item caption.
        extensions: {
            viewerApi: {
            // ...
                }
            }
        }    
    }
    

    View Example: Blazor Server View Example: Blazor WebAssembly

    See Also