
Hi!
Im wondering if there is any way to get the currently visible list of items when using a DataFilter on a TreeListView?
Needed for testing purposes where I mock my view away.
Regards/ David
Hi!
Im wondering if there is any way to get the currently visible list of items when using a DataFilter on a TreeListView?
Needed for testing purposes where I mock my view away.
Regards/ David
Hi David,
The TreeListView.ItemsSource is effectively bound to the flat list of items that are "visible" in the control, where "visible" there means expanded and also possibly scrolled out of the TreeListView's bounds.
okey :/
That wouldnt work then i a testing setup where the view is mocked away. Any plans to make the itemsource available through the itemadapter?
Hi David,
We don't have plans to add anything like that to the item adapter, but you could always bind the TreeListView.ItemsSource back to a property of your view's viewmodel if you needed access to it.
Please log in to a validated account to post comments.