This example demonstrates how to create a custom Action type with a toggle state.
The Action's implementation consists of the following parts:
- A
SimpleAction
descendant that stores the checked state of the Action (CheckableSimpleAction.cs). - The custom Action binding that binds an abstract Action to its UI representation (CheckableSimpleActionBinding.cs).
- The Controller that performs the binding operation. (CheckableSimpleActionController.cs)
- The Controller that creates
CheckableSimpleAction
objects in the UI. (SampleController.cs)
- CheckableSimpleAction.cs
- CheckableSimpleActionBinding.cs
- CheckableSimpleActionController.cs
- SampleController.cs
- How to create a custom action type with a custom control (BarCheckItem), associated with it (WinForms)
- How to create a custom action type with a custom control (ASP.NET Web Forms)
(you will be redirected to DevExpress.com to submit your response)