Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - MVVM - Comments http://blog.lexique-du-net.com/index.php? In this blog we talk about WPF, Natural User Interface(NUI), Microsoft Surface, WIndows 7, Multitouch, Touchless, JavaFX, MVVM, patterns, tips, tricks .... and a lot of other things ! en Mon, 26 Feb 2024 15:40:43 +0100 Jonathan ANTOINE, All rights reserved http://blogs.law.harvard.edu/tech/rss Dotclear MVVM : How to keep collections of ViewModel and Model in sync - Zar http://blog.lexique-du-net.com/index.php?post/2010/03/02/M-V-VM-How-to-keep-collections-of-ViewModel-and-Model-in-sync#c3476 urn:md5:58d665934014e91f44e18b766dfbb8a7 Mon, 11 Feb 2013 05:19:41 +0100 Zar <p>Nice Post, Thanks.</p> MVVM : How to keep collections of ViewModel and Model in sync - sanjuro http://blog.lexique-du-net.com/index.php?post/2010/03/02/M-V-VM-How-to-keep-collections-of-ViewModel-and-Model-in-sync#c3474 urn:md5:4d5dd04e6f35b8a705e726c267051e90 Mon, 29 Oct 2012 15:50:38 +0100 sanjuro <p>I agree with Nathan, Syncer should be implemented in .NET by default, but i would name it ProxyObservableCollection <img src="themes/default/smilies/smile.png" alt=":)" class="smiley" /></p> Execute a command on a specified control when clicking on a button - JonathanANTOINE@falsemail.com http://blog.lexique-du-net.com/index.php?post/2010/06/16/Execute-a-command-on-a-specified-control-when-clicking-on-a-button#c3141 urn:md5:737067a8e99048e225e592dc519e84bc Fri, 06 Apr 2012 09:01:17 +0200 JonathanANTOINE@falsemail.com <p>You have to use the code in the&nbsp;<span style="background-color: rgb(238, 238, 238); font-family: monospace; line-height: 15px; text-align: left; ">ReceiveWeakEvent to do this <img src="themes/default/smilies/smile.png" alt=":)" class="smiley" /></span></p> Execute a command on a specified control when clicking on a button - Jeremy McLain http://blog.lexique-du-net.com/index.php?post/2010/06/16/Execute-a-command-on-a-specified-control-when-clicking-on-a-button#c3140 urn:md5:cf06e8b5892980812265fe5761445744 Thu, 05 Apr 2012 23:12:27 +0200 Jeremy McLain <p>How would you do this portion from code behind?</p> <pre> &lt;Button Content="Delete selected" tools:ExecuteCommandOnControl.RoutedCommand="{x:Static igDP:DataPresenterCommands.DeleteSelectedDataRecords}" tools:ExecuteCommandOnControl.Target="{Binding ElementName=dataGrid}" /&gt;</pre> MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - online writing http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c3133 urn:md5:3d81c5145cf4ce910b906d5b44273b08 Fri, 16 Dec 2011 16:52:49 +0100 online writing <p>I am very interested in this sphere and reading this post I have known many new things, which I have not known before. Thanks for publishing this great article here.</p> MVVM : How to keep collections of ViewModel and Model in sync - David http://blog.lexique-du-net.com/index.php?post/2010/03/02/M-V-VM-How-to-keep-collections-of-ViewModel-and-Model-in-sync#c3127 urn:md5:04fb361ee7f4e82ae23c1ad4b5fc8348 Sat, 17 Sep 2011 18:37:08 +0200 David <p>Great post. Thanks!</p> MVVM - Creating ViewModel : wrap your business object (solution 1 of n). - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2010/02/24/MVVM-Creating-ViewModel-%3A-wrap-your-business-object-%28solution-1-of-n%29.#c3031 urn:md5:1c9bb8330d5b4affad0bd8ad3526c6fb Fri, 13 May 2011 10:28:54 +0200 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2010/02/24/MVVM-Creating-ViewModel-%3A-wrap-your-business-object-%28solution-1-of-n%29.#c3029" rel="nofollow">thinh</a>&nbsp;:Hello, why don't you put SelectedIndex="0" in the Listbox definition ? This will force the selection of the first item and resolve your problem <img src="themes/default/smilies/smile.png" alt=":-)" class="smiley" /></p> MVVM - Creating ViewModel : wrap your business object (solution 1 of n). - thinh http://blog.lexique-du-net.com/index.php?post/2010/02/24/MVVM-Creating-ViewModel-%3A-wrap-your-business-object-%28solution-1-of-n%29.#c3029 urn:md5:4b75d9bebfcee855ade935ad5943f543 Fri, 13 May 2011 09:33:26 +0200 thinh <p>Hi,<br /> I read your post and I have a problem with this kind implementation.<br /> My problem is: I have a list which lists all customer in the left panel, and a detail customer on right side. Whenever I choose a customer in a list, its detail will be shown on the right. But when the form's loaded at the first time, no customer is chosen, so with kind, ViewModel wraps Model, we will a null SelectedCustomer, and we will get errors when we bind the Name to the View, but if the INotifyChanged is on Model, there's no this problem. Do you have any idea about this problem?</p> [ping] Binding to the selected items of a ListBox (or an another items controls) - iAwaaz-News-by-People http://blog.lexique-du-net.com/index.php?post/2010/06/13/Binding-to-the-selected-items-of-a-ListBox#c2240 urn:md5:634d927107e4bc0eea0c744c37abe63a Fri, 18 Jun 2010 06:00:21 +0200 iAwaaz-News-by-People <p><a href="http://www.iawaaz.com/Binding-to-the-selected-items-of-a-ListBox-or-an-another-items-controls">Binding to the selected items of a ListBox (or an another</a></p> <!-- TB --> <p>Thank you for submitting this cool story - Trackback from iAwaaz-News-by-People...</p> MVVM : How to keep collections of ViewModel and Model in sync - faxless payday loans http://blog.lexique-du-net.com/index.php?post/2010/03/02/M-V-VM-How-to-keep-collections-of-ViewModel-and-Model-in-sync#c2230 urn:md5:9e85e9e6e45f432b377da889a7743181 Thu, 17 Jun 2010 12:55:16 +0200 faxless payday loans <p>This is a superb post {%H1%}.<br /> But I was wondering how do I suscribe to the RSS feed?</p> [ping] Execute a command on a specified control when clicking on a button - iAwaaz-News-by-People http://blog.lexique-du-net.com/index.php?post/2010/06/16/Execute-a-command-on-a-specified-control-when-clicking-on-a-button#c2211 urn:md5:53a534f71e0da8737f4549154b97afb4 Wed, 16 Jun 2010 15:39:19 +0200 iAwaaz-News-by-People <p><a href="http://www.iawaaz.com/Execute-a-command-on-a-specified-control-when-clicking-on-a-button">Execute a command on a specified control when clicking on a</a></p> <!-- TB --> <p>Thank you for submitting this cool story - Trackback from iAwaaz-News-by-People...</p> [ping] Execute a command on a specified control when clicking on a button - DotNetKicks.com http://blog.lexique-du-net.com/index.php?post/2010/06/16/Execute-a-command-on-a-specified-control-when-clicking-on-a-button#c2210 urn:md5:25d35bd4a8033e3623cf757d68b9cc76 Wed, 16 Jun 2010 15:36:31 +0200 DotNetKicks.com <p><a href="http://www.dotnetkicks.com/wpf/Execute_a_command_on_a_specified_control_when_clicking_on_a_button">Execute a command on a specified control when clicking on a</a></p> <!-- TB --> <p>You've been kicked (a good thing) - Trackback from DotNetKicks.com...</p> [ping] Execute a command on a specified control when clicking on a button - DotNetShoutout http://blog.lexique-du-net.com/index.php?post/2010/06/16/Execute-a-command-on-a-specified-control-when-clicking-on-a-button#c2209 urn:md5:ee77c82e5ecdffbbff9a3392bcf840c7 Wed, 16 Jun 2010 15:34:51 +0200 DotNetShoutout <p><a href="http://dotnetshoutout.com/Execute-a-command-on-a-specified-control-when-clicking-on-a-button">Execute a command on a specified control when clicking on a</a></p> <!-- TB --> <p>Thank you for submitting this cool story - Trackback from DotNetShoutout...</p> [ping] Binding to the selected items of a ListBox (or an another items controls) - DotNetKicks.com http://blog.lexique-du-net.com/index.php?post/2010/06/13/Binding-to-the-selected-items-of-a-ListBox#c2180 urn:md5:65038388b1c746bc43ef42ae4fb76d00 Mon, 14 Jun 2010 15:53:27 +0200 DotNetKicks.com <p><a href="http://www.dotnetkicks.com/wpf/Binding_to_the_selected_items_of_a_ListBox_or_an_another_items_contro">Binding to the selected items of a ListBox (or an another</a></p> <!-- TB --> <p>You've been kicked (a good thing) - Trackback from DotNetKicks.com...</p> [ping] Binding to the selected items of a ListBox (or an another items controls) - DotNetShoutout http://blog.lexique-du-net.com/index.php?post/2010/06/13/Binding-to-the-selected-items-of-a-ListBox#c2179 urn:md5:79d304f169a68d87ae3cafced5aabd2d Mon, 14 Jun 2010 15:52:02 +0200 DotNetShoutout <p><a href="http://dotnetshoutout.com/Binding-to-the-selected-items-of-a-ListBox-or-an-another-items-controls">Binding to the selected items of a ListBox (or an another</a></p> <!-- TB --> <p>Thank you for submitting this cool story - Trackback from DotNetShoutout...</p> MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - Daniel http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1795 urn:md5:a6c0d103226f1dad2336b3f1f1e9f2b6 Sat, 22 May 2010 06:25:31 +0200 Daniel <p>Try Fluent Ribbon Control Suite (<a href="http://fluent.codeplex.com" title="http://fluent.codeplex.com" rel="nofollow">http://fluent.codeplex.com</a>). Fluent Ribbon is more MVVM-friendly, you can find MVVM sample there.</p> MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - aani http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1544 urn:md5:141e681e962246ef7ddf118db9eb838e Mon, 19 Apr 2010 08:01:01 +0200 aani <p>Could you please upload the demo project?</p> MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - hedi http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1399 urn:md5:761f97c914d46c9b01020f57b9102596 Sun, 28 Mar 2010 13:41:52 +0200 hedi <p>I'm developping an application which bases on PrismV2 and the designPattern MVVM.<br /> Thus I develop every module separately and I use a main interface to call them (Shell)<br /> My Shell contains OfficeRibbon<br /> I still have some problems to understand<br /> can you explain me how I have to use RibbonCommand?</p> MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1362 urn:md5:b3fcbf1a11239935aec58019794149c0 Thu, 25 Mar 2010 13:55:37 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1361" rel="nofollow">Emperor</a> :Thx, it works fine !</p> MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - Emperor http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1361 urn:md5:bbb4a6d16880451123ecbc3148c8da7e Thu, 25 Mar 2010 13:26:08 +0100 Emperor <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1360" rel="nofollow">Jonathan ANTOINE</a> : after you are finished with adding/removing/clearing Controls property call OnApplyTemplate() on RibbonGroup to update the visuals.</p>