Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sample for NavigationView + NavigationBar usage scenarios #747

Open
kazo0 opened this issue Jun 6, 2024 · 1 comment
Open

Add sample for NavigationView + NavigationBar usage scenarios #747

kazo0 opened this issue Jun 6, 2024 · 1 comment

Comments

@kazo0
Copy link
Contributor

kazo0 commented Jun 6, 2024

Would be good to create a small sample app in the Samples repo on using a NavView with a NavBar and dealing with the PaneToggleButton + MainCommand

@DevTKSS
Copy link

DevTKSS commented Dec 15, 2024

would like to add a detail to that sample idea, because I had exactly that scenario need few days ago:
I would like to see the NavigationBar Menu Button(expecting this will need it to be set to action instead of Back) target the in this case hidden NavigationView MenuToggleButton. I did try to bind that, in a mvux application, so maybe doing that a bit wrong:
command of the NavBar MainCommand triggered MainModel Task which would set the value of a IState<bool> NavPanOpen in it, but this setup might collide with the split of interest seperation coming from this mvvm/mvux design pattern and also has not been working properly.
Please show where that is correctly placed in which file also using mvux(?) and how to correctly bind that. I understood mvux this way, that we do not want the Page codebehind contain much more than the initializeComponent, but that might be wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants