Skip to content
This repository was archived by the owner on May 7, 2022. It is now read-only.
This repository was archived by the owner on May 7, 2022. It is now read-only.

BindingExpression path error: '(Controls:MultiSelectTreeView.*)' #41

@redsolo

Description

@redsolo

WpfTreeview.zip

Im getting BindingExpression errors for every item I add to the MultiSelectTreeView. I have a very simple tree view where all I have done is set the ItemSource and SelectedItems in the XAML.
But when I add 1000 entries into it, I get the following binding expression failures for each and every item:

System.Windows.Data Warning: 40 : BindingExpression path error: '(Controls:MultiSelectTreeView.HoverHighlighting)' property not found on 'object' ''MultiSelectTreeView' (Name='')'. BindingExpression:Path=(Controls:MultiSelectTreeView.HoverHighlighting); DataItem='MultiSelectTreeView' (Name=''); target element is 'MultiSelectTreeViewItem' (Name=''); target property is 'HoverHighlighting' (type 'Boolean')
System.Windows.Data Warning: 40 : BindingExpression path error: '(Controls:MultiSelectTreeView.ItemIndent)' property not found on 'object' ''MultiSelectTreeView' (Name='')'. BindingExpression:Path=(Controls:MultiSelectTreeView.ItemIndent); DataItem='MultiSelectTreeView' (Name=''); target element is 'MultiSelectTreeViewItem' (Name=''); target property is 'ItemIndent' (type 'Int32')
System.Windows.Data Warning: 40 : BindingExpression path error: '(Controls:MultiSelectTreeView.IsKeyboardMode)' property not found on 'object' ''MultiSelectTreeView' (Name='')'. BindingExpression:Path=(Controls:MultiSelectTreeView.IsKeyboardMode); DataItem='MultiSelectTreeView' (Name=''); target element is 'MultiSelectTreeViewItem' (Name=''); target property is 'IsKeyboardMode' (type 'Boolean')

Im not sure what I should do to remove these, as those seems to be TreeView related and not related to my view models.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions