Skip to content

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

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/xaf-custom-action-type-blazor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •