I need a sorting, grouping and filtering behavior of a CollectionView also with LiveShaping properties, but every .NET implementation has a Dispatcher connected to it.
Is there any implementation of the ICollectionView without a dispatcher?
I need a sorting, grouping and filtering behavior of a CollectionView also with LiveShaping properties, but every .NET implementation has a Dispatcher connected to it.
Is there any implementation of the ICollectionView without a dispatcher?
From MSDN:
CollectionView derives from
System.Windows.Threading.DispatcherObject
, so this class and all derived will always haveDispatcher
property, becauseDispatcher
property is notvirtual
,abstract
oroverride
, other way you could mark it assealed
and use a derived class withoutDispatcher
property.Other remark for CollectionView:
It is not a solution of your problem, but an answer on your question.
No, there isn't. The only class that implements this interface in the .NET Framework is the
CollectionView
class and it is aDispatcherObject
.So you will have to provide your own implementation or solve your issue in a different way.