/xaf-custom-action-type-blazor

Implement a custom Action type with togglable state in your ASP.NET Core Blazor XAF application

Primary LanguageC#OtherNOASSERTION

XAF Blazor - How to create a custom Action type

This example demonstrates how to create a custom Action type with a toggle state.

chrome_RuP8b15xLx

Implementation Details

The Action's implementation consists of the following parts:

  1. A SimpleAction descendant that stores the checked state of the Action (CheckableSimpleAction.cs).
  2. The custom Action binding that binds an abstract Action to its UI representation (CheckableSimpleActionBinding.cs).
  3. The Controller that performs the binding operation. (CheckableSimpleActionController.cs)
  4. The Controller that creates CheckableSimpleAction objects in the UI. (SampleController.cs)

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)