IActiveAware + NavigationModule

Jun 10, 2010 at 8:17 AM

Hi List,

what i have:

a) A Module (NavigationModule) for overall ApplicationNavigation.

This Modul is populated with entries from every module loaded, and build the NavigationList with Expanders and Buttons (ModuleName = Expander, Views = Buttons)

b) The IActiveAware Interface is impemented in the Views.

Views are loaded in my MainRegion (TabControl)

What i wold like to do:

if User open one View, all other Views should Unregister from severall commands, and only the opend view should register to commands like EditEntity,AddEntity)

The problem is, the views can belong to different moduls.






Jun 22, 2010 at 6:57 PM

Hi Peter,

Since your views can belong to different modules, you could use Globally Available Commands.

Perhaps you could find this thread useful, as it deals with a similar scenario.

Guido Leandro Maliandi

Jun 24, 2010 at 6:49 AM


i will have a look.