Prism: Prevent executing a command in duplicate views using IActiveAware?
I have a Silverlight application that has three regions that will host the same Views. What I want to know is, how may I create a zoom control for each of the views, without zooming all of the views (assu开发者_StackOverflow社区ming the zoom action is using Prism Commands). Would IActiveAware be the right approach?
As you said, to determine the active view IActiveAware is proabably the way to go. You can find information about a usage scenario in this thread: http://compositewpf.codeplex.com/Thread/View.aspx?ThreadId=54953
I hope this helps.
Thanks, Damian
精彩评论