Why use the ActionManager
•      Separate your business logic from the user-interface controls: Use of the ActionManager will
separate your business and application logic from your user-interface controls. The implementation
code is associated with an item in a repository, and not a user-interface control. This makes your code
easily shareable by other controls.

•        
Centralized code for refreshing the control's appearance. The ActionManager gives you a
simple methodology for updating the appearance of your controls based on dynamic criteria. Thus if
one user should have certain buttons or menu items disabled and another should have them enabled,
you can easily handle this logic completely within the action. You do not need to manipulate the
properties of the user-interface components (buttons, menus, etc.).

•        
Code re-use: The ActionManager strongly encourages and allows for code re-use through its
architecture of supporting user-defined standard actions. Quite often you will notice that you are
attaching similar code to many of your visual controls. By recognizing what is common, you can create
your own new defined actions. These new actions will work as in the ActionManager's standard
actions (see types inherited from ActionItem) and allow you to add your defined functionality to any
visual control by simply assigning its Action property.

•        
3rd Party implementation dependencies are eliminated: Programming through actions frees
you from being dependent upon specific implementations of native and 3rd party components. This
style of programming allows you to easily switch components. For instance, you can remove a button
and replace it with a menu selection by just assigning the menu item’s Action property. All the behavior
of the old button is transferred to the menu item.

•        
Flexibility: The ActionManager allows you to selectively define which aspects of an action you
wish to use in your user-interface components. For instance, you can choose to use the
Enabled
property of an action, but to disregard the action's Text property for a particular toolbar button.

•       
Lightweight assembly:: The ActionManager assembly is very compact (less than 100K)

Free Trial

Woll2Woll Software

Woll2Woll
Software

ActionManager