DashboardExtensionsOptionBuilder.DesignerToolbar(Action<DesignerToolbarOptionBuilder>) Method
In This Article
Allows you to use the DesignerToolbarExtension.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
#Declaration
public DashboardExtensionsOptionBuilder DesignerToolbar(
Action<DesignerToolbarOptionBuilder> config
)
#Parameters
Name | Type | Description |
---|---|---|
config | Action<Designer |
A delegate used to configure the Data |
#Returns
Type | Description |
---|---|
Dashboard |
A reference to this instance after the operation has completed. |
#Remarks
The code sample below shows how to configure the DesignerToolbarExtension options:
cshtml
@(Html.DevExpress().Dashboard("dashboardControl1")
.Width("100%")
.Height("100%")
.OnBeforeRender("onBeforeRender")
.Extensions(ext => {
ext.DesignerToolbar(options => {
// ...
});
})
)
See Also