Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - DependencyObject - 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, 06 Feb 2023 18:16:14 +0100 Jonathan ANTOINE, All rights reserved http://blogs.law.harvard.edu/tech/rss Dotclear 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> [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> [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> 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#c1360 urn:md5:d5afe5eca080ebf8534d7de7b6bd4996 Thu, 25 Mar 2010 11:55:46 +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#c1359" rel="nofollow">Emperor</a> :The group visual does not update when you do this even if the list contains the items... <img src="themes/default/smilies/sad.png" alt=":-(" class="smiley" /></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#c1359 urn:md5:239d1c4e9c2f0ebacc95e97da58cf305 Thu, 25 Mar 2010 11:42:29 +0100 Emperor <p>Gigi070: Use Controls.Add() to dynamically add new buttons.</p> MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - Gigi070 http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1351 urn:md5:531a58d9a189e9ad07f827679e0c9ecb Wed, 24 Mar 2010 18:48:13 +0100 Gigi070 <p>Thanks for your solution.</p> <p>Do you have a solution to dynamically load RibbonButtons of a RibbonGroup?</p> <p>I'm trying to do this ... but the Controls property of the RibbonGroup doesn't support a setter, just a getter.</p> <p>So even if you provide a method to hide a non dependency property or command, it's difficult to use it on a read-only property ....</p> <p>I'm hopping that you have a solution for me and I'm doing a big mistake in my post :D</p> <p>Guillaume.</p> [ping] MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - iAwaaz-News-for-the-People-by-the-People http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1307 urn:md5:563e9d7da62c0cacd92c911780417898 Sat, 06 Mar 2010 02:25:37 +0100 iAwaaz-News-for-the-People-by-the-People <p><a href="http://www.iawaaz.com/MVVM-How-to-integrate-the-Office-Ribbon-respecting-the-pattern-especially-the-commands">MVVM - How to integrate the Office Ribbon respecting the</a></p> <!-- TB --> <p>Thank you for submitting this cool story - Trackback from iAwaaz-News-for-the-People-by-the-People...</p> [ping] MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - DotNetKicks.com http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1304 urn:md5:fb7b19c909fed52d0db59007f3fc7069 Thu, 04 Mar 2010 19:07:27 +0100 DotNetKicks.com <p><a href="http://www.dotnetkicks.com/wpf/MVVM_How_to_integrate_the_Office_Ribbon_respecting_the_pattern_espe">MVVM - How to integrate the Office Ribbon respecting the</a></p> <!-- TB --> <p>You've been kicked (a good thing) - Trackback from DotNetKicks.com...</p> [ping] MVVM - How to integrate the Office Ribbon respecting the pattern (especially the commands) - DotNetShoutout http://blog.lexique-du-net.com/index.php?post/2010/02/28/MVVM-How-to-integrate-the-Office-Ribbon#c1303 urn:md5:60f588aafcfb8535e604a0c007d54298 Thu, 04 Mar 2010 19:06:22 +0100 DotNetShoutout <p><a href="http://dotnetshoutout.com/MVVM-How-to-integrate-the-Office-Ribbon-respecting-the-pattern-especially-the-commands">MVVM - How to integrate the Office Ribbon respecting the</a></p> <!-- TB --> <p>Thank you for submitting this cool story - Trackback from DotNetShoutout...</p>