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

TreeView: InvalidateSelectedItemView throw exception in Windows11 theme change #19

Open
BagheriIG opened this issue Apr 2, 2024 · 0 comments

Comments

@BagheriIG
Copy link

I've used TreeView in my WPF application. Previously, the application theme was set on "FluentDark/Light". I have a button to switch the theme between light and dark mode. Right now I'm trying "Windows11Dark/Light" for my app. With this change after I switch the theme, I get an exception with the message:

"Object reference not set to an instance ... "

The stack trace shows that the exception comes from this method:

"at Syncfusion.UI.Xaml.TreeView.TreeViewItemInfoBase.InvalidateSelectedItemView()"

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

No branches or pull requests

1 participant