If virtualizing is enabled in TreeView
with items having various sizes, multiple problems appear:
Vertical scroll bar changes its size randomly and
i have taken same error in wpf application while loading window. Visual Studio 2017 After some researching find out something like this post and i have noticed it is interesting WindowStyle element.
In my case the error in XAML design window in wpf and windows attribute value was
WindowStyle ="none"
i have changed it's value to WindowStyle ="SingleBorderWindow"
and this errors has disappeared