BlazorViewExtensions.CustomizeViewItemControl<T>(View, Controller, Action<T>) Method
Allows you to access controls of View Item that the specified View contains in ASP.NET Core Blazor applications. This applies to View Items in Detail View, Dashboard View, and List View (DxGridListEditor and DxTreeListEditor in edit mode)
Namespace: DevExpress.ExpressApp.Blazor.Utils
Assembly: DevExpress.ExpressApp.Blazor.v26.1.dll
NuGet Package: DevExpress.ExpressApp.Blazor
Declaration
public static void CustomizeViewItemControl<T>(
this View view,
Controller controller,
Action<T> customizeAction
)
where T : ViewItem
Parameters
| Name | Type | Description |
|---|---|---|
| view | View | A View that contains the specified View Item. |
| 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
Refer to the following help topic for an example: Manage Button Visibility in a Blazor Lookup Property Editor.
See Also