This question is locked. New answers and comments are not allowed.
I build the treeview code behind ,when i binding the data to the treeview , i find the child treeviewitem is checked while the parent treeviewitem is not .so i debug it and i find the TreeViewItem.ParentTreeView and ParentItem is null ,that is why the issue occurs.
the treeview porperties are set as follows:
could you tell me why TreeViewItem.ParentTreeView and ParentItem is null?
thank you
the treeview porperties are set as follows:
IsTriStateMode="True" IsLineEnabled="True" ItemsOptionListType="CheckList" IsOptionElementsEnabled="True"could you tell me why TreeViewItem.ParentTreeView and ParentItem is null?
thank you