Sometimes, it is necessary to extend our built-in Actions to be able to use a custom control for a specific task. For example, add two DateTime
editors to accept a data range instead of creating two separate ParametrizedActions
.
Inherit the ProcessActionContainerHolderController and override the OnCreateCustomMenuActionItem
method and return a custom TemplatedMenuActionItem
, that defines the Action's control. See the MyProcessActionContainerHolderController.xx class code for additional details.
- MyProcessActionContainerHolderController.cs (VB: MyProcessActionContainerHolderController.vb)
- ParametrizedRangeActionMenuActionItem.cs (VB: ParametrizedRangeActionMenuActionItem.vb)
- How to create a custom action type with a custom control (BarCheckItem), associated with it (WinForms)
- XAF Blazor - Implement a custom Action type (ASP.NET Core Blazor Server)
(you will be redirected to DevExpress.com to submit your response)