<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Monika Dyrda - All Comments</title><link>http://weblogs.asp.net/monikadyrda/default.aspx</link><description>WPF Dev Girl</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Looking for a good way of sorting a ListView</title><link>http://weblogs.asp.net/monikadyrda/archive/2010/02/21/looking-for-a-good-way-of-sorting-a-listview.aspx#7370069</link><pubDate>Thu, 04 Mar 2010 15:27:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7370069</guid><dc:creator>Rob Eisenberg</dc:creator><description>&lt;p&gt;If you change the signature of your sort method to:&lt;/p&gt;
&lt;p&gt;public void Sort(ISortableGridViewColumn column)&lt;/p&gt;
&lt;p&gt;Caliburn should be able to perform the interface cast and you shouldn&amp;#39;t need a dependency on the control from within your presenter.&lt;/p&gt;
&lt;p&gt;You might even think about renaming the interface to be less control focused. &amp;nbsp;Perhaps something like ISupportSorting or ISpecifySorting, etc&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7370069" width="1" height="1"&gt;</description></item><item><title>Twitter Trackbacks for                 Hello Caliburn ??? beginners guide to an amazing framework (1) - Monika Dyrda         [asp.net]        on Topsy.com</title><link>http://weblogs.asp.net/monikadyrda/archive/2009/10/26/hello-caliburn-begginners-guide-for-an-amazing-framework-1.aspx#7270118</link><pubDate>Fri, 04 Dec 2009 03:15:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7270118</guid><dc:creator>Twitter Trackbacks for                 Hello Caliburn ??? beginners guide to an amazing framework (1) - Monika Dyrda         [asp.net]        on Topsy.com</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Twitter Trackbacks for &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Hello Caliburn ??? beginners guide to an amazing framework (1) - Monika Dyrda &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [asp.net] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;on Topsy.com&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7270118" width="1" height="1"&gt;</description></item><item><title>re: WPF: ListCollectionView for sorting, filtering and grouping</title><link>http://weblogs.asp.net/monikadyrda/archive/2009/08/31/wpf-listcollectionview-for-sorting-filtering-and-grouping.aspx#7215661</link><pubDate>Thu, 24 Sep 2009 15:08:55 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7215661</guid><dc:creator>Lasse</dc:creator><description>&lt;p&gt;I&amp;#39;ve seen that and I am not so happy about the &amp;quot;no&amp;quot; answer,,,, anyhow,, thanks for your help.&lt;/p&gt;
&lt;p&gt;//lasse&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7215661" width="1" height="1"&gt;</description></item><item><title>re: WPF: ListCollectionView for sorting, filtering and grouping</title><link>http://weblogs.asp.net/monikadyrda/archive/2009/08/31/wpf-listcollectionview-for-sorting-filtering-and-grouping.aspx#7214991</link><pubDate>Wed, 23 Sep 2009 17:07:08 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7214991</guid><dc:creator>xmonix</dc:creator><description>&lt;p&gt;I have no experience with BindingListCollectionView but the same problem is discussed here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/f3dd977d-589e-41a7-af20-6edf2baeaef0"&gt;social.msdn.microsoft.com/.../f3dd977d-589e-41a7-af20-6edf2baeaef0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And it looks like the answer is unfortunately no.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7214991" width="1" height="1"&gt;</description></item><item><title>re: WPF: ListCollectionView for sorting, filtering and grouping</title><link>http://weblogs.asp.net/monikadyrda/archive/2009/08/31/wpf-listcollectionview-for-sorting-filtering-and-grouping.aspx#7214929</link><pubDate>Wed, 23 Sep 2009 15:36:41 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7214929</guid><dc:creator>Lasse</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If I do like:&lt;/p&gt;
&lt;p&gt;var tmp = CollectionViewSource.GetDefaultView(_listBox.ItemsSource);&lt;/p&gt;
&lt;p&gt;tmp has type BindingListCollectionView. Trying to cast this to ListCollectionView throws a exception.&lt;/p&gt;
&lt;p&gt;I cant find any way to use custom sort on a BindingListCollectionView,, is there?&lt;/p&gt;
&lt;p&gt;//lasse&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7214929" width="1" height="1"&gt;</description></item><item><title>re: WPF: ListCollectionView for sorting, filtering and grouping</title><link>http://weblogs.asp.net/monikadyrda/archive/2009/08/31/wpf-listcollectionview-for-sorting-filtering-and-grouping.aspx#7211903</link><pubDate>Sun, 20 Sep 2009 20:06:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7211903</guid><dc:creator>xmonix</dc:creator><description>&lt;p&gt;Hi Lasse, &lt;/p&gt;
&lt;p&gt;check in debug what type is returned by CollectionViewSource.GetDefaultView when bound property in not an ObservableCollection.&lt;/p&gt;
&lt;p&gt;Maybe the method you have problems with should return simply ICollectionView. I will check that later.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7211903" width="1" height="1"&gt;</description></item><item><title>re: WPF: ListCollectionView for sorting, filtering and grouping</title><link>http://weblogs.asp.net/monikadyrda/archive/2009/08/31/wpf-listcollectionview-for-sorting-filtering-and-grouping.aspx#7211887</link><pubDate>Sun, 20 Sep 2009 19:40:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7211887</guid><dc:creator>Lasse</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I am trying to copy your solution but having problems with GetListCollectionView() which throws an exception &amp;quot;unable to cast ...&amp;quot;&lt;/p&gt;
&lt;p&gt;Difference between your example and mine is mainly that I use BindingList&amp;lt;T&amp;gt; instead of ObsevableCollection&amp;lt;T&amp;gt; and I try dont have CreatureCollection as property like you. My ListBox is in a control templade where its ItemSource is using databinding to its parents Itemsource.&lt;/p&gt;
&lt;p&gt;Any ideas how to get the casting correct.&lt;/p&gt;
&lt;p&gt;//lasse &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7211887" width="1" height="1"&gt;</description></item><item><title>re: WPF TextBox Validation</title><link>http://weblogs.asp.net/monikadyrda/archive/2009/06/24/wpf-textbox-validation.aspx#7192334</link><pubDate>Fri, 04 Sep 2009 22:49:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7192334</guid><dc:creator>Ed Gaddy</dc:creator><description>&lt;p&gt;Monica,&lt;/p&gt;
&lt;p&gt;Thank you for the code.&lt;/p&gt;
&lt;p&gt;Your example does what I want, except, I need to do it all in code. (My WPF window has a varying number of TextBoxes depending on several factors.) So far, I&amp;#39;ve been baffled by how to set the bindings, paths, updateTriggerSources in code.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d appreciate your naming a place I could look for this or might you re-write the XAML into C#?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7192334" width="1" height="1"&gt;</description></item><item><title>re: WPF TextBox Validation</title><link>http://weblogs.asp.net/monikadyrda/archive/2009/06/24/wpf-textbox-validation.aspx#7181329</link><pubDate>Tue, 25 Aug 2009 21:26:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7181329</guid><dc:creator>Tim O.</dc:creator><description>&lt;p&gt;Great tutorial!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7181329" width="1" height="1"&gt;</description></item><item><title>re: WPF TextBox validation 2</title><link>http://weblogs.asp.net/monikadyrda/archive/2009/07/28/wpf-textbox-validation-2.aspx#7160869</link><pubDate>Tue, 04 Aug 2009 07:39:09 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7160869</guid><dc:creator>Krzysztof Koźmic</dc:creator><description>&lt;p&gt;Very cool, although I agree that the implementation is naive.&lt;/p&gt;
&lt;p&gt;Also, you&amp;#39;d never ever want to hardcode rules validation like this.&lt;/p&gt;
&lt;p&gt;You should try using one of validation frameworks, like Castle Validator component. (NHibernate Validator could be used as well, I supposed, although I&amp;#39;m nor sure it&amp;#39;s suitable for UI validation)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7160869" width="1" height="1"&gt;</description></item></channel></rss>
