HamburgerMenu and navigation via PRISM #4079
Unanswered
GWawrzeniecki
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello


I have a following problem to resolve.
I have hamburgerMenu where hamburgerMenuItems are stored in ListBox.
I use prism navigation to change view in contentRegion with following line:
RegionManager.RequestNavigate(RegionNames.ContentRegion, nameof(ContractData)); //hmi icon isnt changing TO DO
The view changes but the hamburgerMenuItemIcon isn't selected. (Because I use prim navigation not the hamburger menu navigation).
So I have a view like this:
Then I click "Dalej" (Next)
View in contentRegion changes, but still the first hamburgerMenuItem is selected.
How can I manually change selection on the Listbox without using navigation via hamburger menu.
I have tried setting tag property and triggers it, using VisualStateManager but it didn't work as I want.
I set the SelectedItem property in HamburgerMenu and its works as expected.
Can be closed.
Beta Was this translation helpful? Give feedback.
All reactions