Back to Devexpress

DesignerToolbarOptionBuilder Class

dashboard-devexpress-dot-dashboardaspnetcore-61722696.md

latest1.7 KB
Original Source

DesignerToolbarOptionBuilder Class

A wrapper that provides access to DesignerToolbarExtension.

Namespace : DevExpress.DashboardAspNetCore

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

NuGet Package : DevExpress.AspNetCore.Dashboard

Declaration

csharp
public class DesignerToolbarOptionBuilder
vb
Public Class DesignerToolbarOptionBuilder

The following members return DesignerToolbarOptionBuilder objects:

Remarks

The code sample below shows how to access the DesignerToolbar options and handle the onPreparing event:

cshtml
@(Html.DevExpress().Dashboard("dashboardControl1")
    .Width("100%")
    .Height("100%")
    .OnBeforeRender("onBeforeRender")
    .Extensions(ext => {
        ext.DesignerToolbar(options => {
            options.OnPreparing("customizeDashboard");
        });
    })
)

Inheritance

Object DesignerToolbarOptionBuilder

See Also

DesignerToolbarOptionBuilder Members

DevExpress.DashboardAspNetCore Namespace