-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Currently, we document the usage of MainCommandMode being set to Action as a way to override the default behaviour of the MainCommand from the NavigationBar here: https://platform.uno/docs/articles/external/uno.toolkit.ui/doc/controls/[NavigationBar](https://platform.uno/docs/articles/external/uno.toolkit.ui/doc/controls/NavigationBar.html#maincommandmode).html#maincommandmode
We should document clearly that this will result in the MainCommand still being visible as it is assuming you still want it to display and customize the behavior when clicked.
There are scenarios where you may want to completely hide the MainCommand at all times. For that to work, we would need to document that you should be setting the MainCommandMode to Action as well as defining a MainCommand with the Visibility of the AppBarButton set to Collapsed. We should also perhaps add a new Hidden option for the MainCommandMode that would effectively do this for the user.