I have quite a tricky problem:
I am using a ListView control with the ItemsSource set to a CollectionViewSource including a PropertyGroupDescription to group the Lis
The marked Answer Doesn't work in .Net 4.5.
A simple solution for this is to add a
private bool _isExpanded = true;
public bool IsExpanded
{
get { return _isExpanded; }
set { _isExpanded = value; }
}
property to your ViewModel (In this case Whatever objects CurrentListViewData
holds)
and then do:
on your template.
Simple and effective just like WPF should be