-
-
Notifications
You must be signed in to change notification settings - Fork 631
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
The active triggers in NavigationView are not displayed correctly #1059
Labels
bug
Something isn't working
Comments
I have found a feasible solution by adding the following recursive method to NavigationViewItem. cs:
Then call within Onclick:
The complete modification code is:
✌ 🚀Someone can help review this code for any issues, and it would be even better if they could also assist in submitting the merge.😀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
the TargetPageType attribute. When deleting the TargetPageType attribute or leaving it null,
there will be an error in displaying the selected style
To Reproduce
When deleting the TargetPageType attribute or leaving it null, there will be an error in displaying the selected style。
Expected behavior
This issue occurs when the NavigationViewItem does not have the TargetPageType property set. Inference and IsActive trigger xaml style incorrect
Screenshots
error:
success:
OS version
win11
.NET version
.net8
WPF-UI NuGet version
3.0.4
Additional context
No response
The text was updated successfully, but these errors were encountered: