Clancey / FlyoutNavigation

Other
95 stars 87 forks source link

How to Access a Single Menu Item? #43

Closed stesvis closed 10 years ago

stesvis commented 10 years ago

Let's say on a certain screen we want to hide a menu item because it doesn't apply to that screen, or maybe we just want to disable it.

Is there a way to access a specific menu item index? Is there a Hide() method or an Enable property?

Clancey commented 10 years ago

You have full access to the RootElement. You can add or remove from that at will. Just keep the view controller[] in sync.