Add BindableApplicationBarButton Visiblity/IsVisible


<p>I need hide some buttons in app bar for some conditions.</p> <p>Can you implement BindableApplicationBarButton.Visibility prop?</p>


xyzzer wrote Jan 13, 2012 at 1:20 AM

Need to consider whether to implement Visibility, IsVisible or both.

tiwahu wrote May 31, 2012 at 4:04 PM

If you're still deciding, just IsVisible is fine with me.

ladab wrote Oct 17, 2012 at 12:15 PM

Would be nice if IsVisible=false would remove it from appbar so you can have up to 4 visible buttons in bar, but unlimited number of invisible buttons.

Then you can have all buttons in xaml and only cotrol theirs visibility?

valdisiljuconoks wrote Jan 20, 2013 at 2:17 PM

Does this apply to menu items as well - or we just commenting appbar buttons here?


xyzzer wrote Jan 20, 2013 at 3:36 PM

These work roughly the same. The current workaround is to add/remove the view models from the list.

WesleyDonk wrote Apr 30, 2013 at 4:19 PM

Is this already in the current version or is it not implemented?

xyzzer wrote Apr 30, 2013 at 4:44 PM

You can add remove menu option view models from the list to add/remove the menu options. Visibility property is not implemented. I welcome anyone to contribute one.