1

Closed

NullReferenceException at remove when TreeView not visible

description

I got a crash when I remove an item from the model before the tree view is displayed for the first time (for example, when the item is hidden in another tab in a tabcontrol.
This happens only if I create the root TreeViewExItem in the XAML file

The crash is located at TreeViewExItem.cs in function "OnItemsChanged", in case "Remove", the ParentTreeView is null.

Could you please fix that?

file attachments

Closed Aug 3, 2014 at 3:14 PM by slompf

comments

wrote Aug 3, 2014 at 3:14 PM

Resolved with changeset 74785: Fix for 25640