Obtain a collection of generic types from PagedCollectionView
<p>Suppose I had a PageCollectionView of ItemType, where T is some user class that was defined in the project. My ItemType class has a property called IsSelected that I want to perform a query on. Effectively, this is what I want to do:</p>

<pre><code>var objects = Source.SourceCollection.OfType&lt;ItemType&lt;&gt;&gt;().Where(t =&gt; t.IsSelected);
</code></pre>

<p>Of course this doesn't work because the ItemType generic needs a type. I can't specify the real type for the collection as I don't know it at this level (plus I don't want to hardcode the real type anyway, defeats the purpose of having the generic). Most likely, I could figure out a way using reflection, but I'd rather not for readability. Is there someway to do this?</p>

<p>Thanks!</p>
