DashboardViewExtensions.CustomizeViewItemControl<T>(DashboardView, Controller, Action<T>) Method
Allows you to access and customize controls of the Dashboard View Item.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v25.1.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| view | DashboardView | The specified View type. |
| controller | Controller | A Controller to customize controls of the specified View Item. |
| customizeAction | Action<T> | A method to customize controls of the specified View Item. |
Type Parameters
| Name | Description |
|---|---|
| T | The View Item type. |
Remarks
The following code snippet enables HTML markup in a Static Text component:
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Blazor.Editors;
namespace MySolution.Module.Controllers;
public class CustomizeDashboardViewController : ViewController<DashboardView> {
protected override void OnActivated() {
base.OnActivated();
View.CustomizeViewItemControl<StaticTextViewItem>(this, item => {
item.ComponentModel.UseMarkupString = true;
});
}
}
See Also