﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - ListPresenter and CollectionViewSource</title><link>http://www.intersoftsolutions.com/Community/ClientUI/ListPresenter-and-CollectionViewSource/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>ListPresenter and CollectionViewSource</title><link>http://www.intersoftsolutions.com/Community/ClientUI/ListPresenter-and-CollectionViewSource/</link><pubDate>Tue, 15 Mar 2011 23:36:01 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(31, 73, 125); "&gt;Here is the explanation. ListBox or UXListBox should work
with CVS since it derived from ItemsControl. There seems a built-in mechanism
to pass the View property from CVS which type ICollectionView for the items
processing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="color: rgb(31, 73, 125); "&gt;CSV is derived from Dependency
Object and does not implement &amp;nbsp;any IEnumerable or ICollectionView&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: 'courier new'; color: rgb(16, 0, 160); "&gt;public&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'courier new'; "&gt;&lt;span style="color: rgb(16, 0, 160); "&gt;class&lt;/span&gt; &lt;b&gt;&lt;a href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Windows:2.0.5.0:7cec85d7bea7798e/System.Windows.Data.CollectionViewSource"&gt;CollectionViewSource&lt;/a&gt;&lt;/b&gt;
: &lt;a href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Windows:2.0.5.0:7cec85d7bea7798e/System.Windows.DependencyObject" title="System.Windows.DependencyObject"&gt;DependencyObject&lt;/a&gt;, &lt;a href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System:2.0.5.0:7cec85d7bea7798e/System.ComponentModel.ISupportInitialize" title="System.ComponentModel.ISupportInitialize"&gt;ISupportInitialize&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color: rgb(31, 73, 125); "&gt;For this matter, ListPresenter
will not work.&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="color: rgb(31, 73, 125); "&gt;ListPresenter is not derieved
from ItemsControl. When it first release it does not even support
ICollectionView, The ICollectionView support was added after release when to
support Domain Data Source.&lt;o:p /&gt;&lt;/span&gt;&lt;/p&gt;Our ListPresenter can do sorting and filtering. You can see our ClientUISample/DataPresenter.&lt;br /&gt;Attached screenshot would show the ilustration about our filtering and sorting.
&lt;p /&gt;
&lt;p&gt;Since our List/Grid presenter  would be obsolete in the future, I suggest you to use UXGridView when it has released.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>ListPresenter and CollectionViewSource</title><link>http://www.intersoftsolutions.com/Community/ClientUI/ListPresenter-and-CollectionViewSource/</link><pubDate>Tue, 15 Mar 2011 09:56:02 GMT</pubDate><dc:creator>bouh</dc:creator><description>&lt;p&gt;Thanks for your answer.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I don't really understand why the ListPresenter doesn't support the CollectionViewSource as the View property implement the IEnumerable interface. I though that was the only need of the ItemsSource ... Am I wrong ?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Is there a workwaround to be able to sort or filter the elements in a ListPresenter without using a CollectionViewSource ? &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Should we avoid to use the List/GridPresenter components to avoid futur problems ?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>ListPresenter and CollectionViewSource</title><link>http://www.intersoftsolutions.com/Community/ClientUI/ListPresenter-and-CollectionViewSource/</link><pubDate>Tue, 15 Mar 2011 09:17:45 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Sebastian,&lt;/p&gt;&lt;p&gt;Unfortunately, ListPresenter does not support CollectionView Source. We glad that you kept following our latest product. We will release our rich UXGridView in the short time. You can see more information in this &lt;a href="http://intersoftpt.wordpress.com/2011/03/03/uxgridview-ctp3-feature-complete-grid-for-silverlight-wpf/" target="_blank"&gt;link&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>ListPresenter and CollectionViewSource</title><link>http://www.intersoftsolutions.com/Community/ClientUI/ListPresenter-and-CollectionViewSource/</link><pubDate>Mon, 14 Mar 2011 18:07:44 GMT</pubDate><dc:creator>bouh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;When I bind my ListPresenter to a CollectionViewSource, the "Loading" indicator on the bottom of the grid never change to "Ready" (I have only 3 records in my DB). The grid stay empty. &lt;/p&gt;
&lt;p&gt;On some computer, we can get an exception whenever we tried to populate the ObservableCollection source of the View .&lt;/p&gt;
&lt;p&gt;If I change the ListPresenter by a ListBox all is working fine.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;So is it possible to bind a ListPresenter ItemsSource to a CollectionViewSource ?&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I read on your blog you are working on a "great" grid, does it mean the ListPresenter will be obsolete ?&lt;/p&gt;
&lt;p&gt;Any input on when the ClientUI 2011 R1 will be available ? :)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Sebastien&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p /&gt;</description></item></channel></rss>