Declaring a XAML button programmatically and preventing it from vanishing on mouse over

Sometimes I like to make life difficult for myself, or at least it seems that way. For example, I’m apparently a bit mad, because when writing Windows Store apps I’d sometimes rather declare the various buttons and other UI elements in my C# source code, rather than in XAML. Having an enormous chunk of XAML in my MainPage.xaml…

0