|
I am currently working on a project where I would like to set "securities" (these are only cosmetic - security is checked on a server component) for UIElements. This means that when a user does not have the security to show an element it makes
no sense to show it on the gui, because it won't have any effect.
My approach would be to use the ConventionManager and depending on an attached property I would like to set the Visibility/Enabled status of UIElements.
This works very well if I do it inside the Bootstrapper, but I have the problem that the user needs to sign on to have the security data for the Bootstrapper available. Is it possible to change the ConvetionManager after the Bootstrapper or would it make
sense to open the login window inside the Configure method and set the ConventionManager after that?
|