Yes you can, but only on page/control where this data template is defined.
If you want to define action anywhere else you'll have to use commands and bindings.
Check third reply under All replies. (the post with a lot of code)
http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/031ae7d7-8377-47e9-aace-121cd4045e84
This is a sample how to use commands.
No comments:
Post a Comment