Windows 8 Button click programmatically in C# and Xaml
问题 I want to click button programatically in C# xaml. As I found that there is no method like PerformClick. What else is the alternative for it. Actually I have set of 10 buttons with x:Name like btn1, btn2, btn3 etc... I have a number from 1 to 10 based on that number I need to click these buttons. I was planning to get the control by using ParentControl.FindName('btn' + number) and then fire the event from that. But since there is no PerformClick method in Windows 8 C# hence i need an