With a <phone:PhoneApplicationPage.ApplicationBar> how do I hide an ApplicationBarMenuItem programmatically?
With a <phone:PhoneApplicationPage.ApplicationBar> how do I hide an ApplicationBarMenuItem programmatically?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think you can set their
Visibilityprogrammatically, but you can useIsEnabledon them?If you really need to hide/show them, then try adding/removing them in code instead of in XAML – see some sample code for adding in http://msdn.microsoft.com/en-us/library/ff431786(VS.92).aspx and for modifying in http://msdn.microsoft.com/en-us/library/hh394044(v=VS.92).aspx