foreach (var button in ApplicationBar.Buttons) { ((ApplicationBarIconButton) button).IsEnabled = false; // disables the button } ApplicationBar.IsMenuEnabled = false; // this will prevent menu from opening
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)