I am trying to hide application bar in windows phone application like this : appbar1.IsVisible=false;
but when i debug the code , an error occurs NullReferenceException
at the same line . why ? need help
Try ApplicationBar.IsVisible = false;
You can try
ApplicationBar = ((ApplicationBar)this.Resources["appbar1"])
ApplicationBar.IsVisible = false;
This will solve your issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With