c# - How to disable "No target found for method X" exception -


I have a style in xaml-resources. I think:

   

So I use this style in different pages and in different visual models, but not all the scenes need to implement a method UserCardTapped . And here's the problem - if there is no UserCardTapped method in my view model, caliber throws an exception with a message "No target found for the method UserCardTapped".

Is it possible if it does not exist then to force the law?


Why voting down? Is there any more beautiful way?

action messages. Throwex exception = false; move


Comments

Popular posts from this blog

Editing Python Class in Shell and SQLAlchemy -

import - Python ImportError: No module named wmi -

uislider - In a MATLAB GUI, how does one implement a continuously varying slider from a GUIDE created .m file? -