10
Vote

Add BindableApplicationBarButton Visiblity/IsVisible

description

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

comments

xyzzer wrote Jan 13, 2012 at 12:20 AM

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

tiwahu wrote May 31, 2012 at 3:04 PM

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

ladab wrote Oct 17, 2012 at 11:15 AM

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 1:17 PM

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

Thanks!

xyzzer wrote Jan 20, 2013 at 2: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 3:19 PM

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

xyzzer wrote Apr 30, 2013 at 3: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.