When you create a CollectionViewSource in the Resources section, is the set Source loaded when the resources are initalized (i.e. when the Resources holder is inited) or when data is bound?
Is there a xamly way to make a CollectionViewSource lazy-load? deferred-load? explicit-load?
The answer is, that the
CollectionViewSourcedoes not initialize itsSourceproperty as long as not requested!Here is my test example:
Result: the project shuts-down only when the
ListViewis uncommented.