Skip to content

TreeView: InvalidateSelectedItemView throw exception in Windows11 theme change #19

Description

@mohicode7

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()"

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions