Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - MouseEvent - 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 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> [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>