How to make route-commands execute in the global application scope rather than locally in a page or
Posted
by Shimmy
on Stack Overflow
See other posts from Stack Overflow
or by Shimmy
Published on 2010-03-08T02:21:40Z
Indexed on
2010/03/08
3:09 UTC
Read the original article
Hit count: 426
Hello!
I created a window that contains a frame, and above the frame it contains a button that its Command property is set to "Refresh".
In the page shown in the frame, I set a CommandBinding for Refresh. I want that when the 'Refresh' command is executed it should be caught by the page Refresh_Executed event-handler set in the CommandBinding.
In other words, Is there a way to set global Commands that are targeted for the entire application scope and execute everywhere they're bound?
© Stack Overflow or respective owner