Skip to content

DevExpress-Examples/xaf-win-custom-action-with-custom-action-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAF WinForms - Create a custom action type and a custom associated control (BarCheckItem)

This example implements a custom action and uses the WinForms BarCheckItem as a custom action control.

CustomActionEF Win_FWqpdDPuHf

Implementation Details

  1. The CheckableSimpleAction in a SimpleAction descendant that saves the action's checked state.
  2. The BarCheckItemCheckableSimpleActionControl uses the WinForms BarCheckItem control to implement the custom action in the UI.
  3. The CheckableSimpleActionBinding links the custom action (CheckableSimpleAction) to its UI representation (BarCheckItemCheckableSimpleActionControl).

Note: In most cases, it is not required to implement a custom action and action item. It is sufficient to customize the existing action control as described in the following topic: How to: Customize Action Controls.

More Examples

Files to Review

Does this example address your development requirements/objectives?

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

About

Implement a custom action with BarCheckItem action control.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 6