private void NuestroButton1_Click(object sender, RoutedEventArgs e)
{
if //the sender's .Text/.Content is X
{
//Do something
System.Windows.Browser.HtmlPage.Window.Alert("Hello World");
}
}
How can I use something like sender.Text to see what the .Text is of the clicked button?