DesignerToolbarOptionBuilder.OnPreparing(String) Method
A handler for the event that occurs before the Designer Toolbar is created.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.1.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
Declaration
Parameters
Name | Type | Description |
---|---|---|
onPreparing | String | A function that is executed before the Designer Toolbar is created. |
Returns
Type | Description |
---|---|
DesignerToolbarOptionBuilder | A reference to this instance after the operation has completed. |
Remarks
The code sample below shows how to handle the preparing
event:
@(Html.DevExpress().Dashboard("dashboardControl1")
.Width("100%")
.Height("100%")
.OnBeforeRender("onBeforeRender")
.Extensions(ext => {
ext.DesignerToolbar(options => {
options.OnPreparing("customizeDashboard");
});
})
)
See Also