(X) Hide this SilverlightShow next training events: Secure & Personalize Your Silverlight App with WCF RIA Services. May 25th, 10 am PST. Sign up
XNA for Windows Phone 7 - a 3 day training by MCC Peter Kuhn. June 1-3, 9 am - 1.30 pm PST. Sign up early-bird for $199.
Skip Navigation LinksHome / Search


Results Per Page

Found 15 results for Commands.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

  • 1
  • 2
Order by Publish Date   Ascending Title   Rating  

  • Command Changes in Prism 4

    0 comments  /  posted by  Silverlight Show  on  Nov 29, 2010 (6 months ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterBrian Noyes explains about the changes made in Prism 4 regarding commands.

    Source: Brian Noyes' Blog

    One small change that was made in Prism 4 was to update the DelegateCommand class to deal with command parameters a little more cleanly, and also to update the weak reference handling inside the DelegateCommand to work correctly based on the way Silverlight 4 implemented command hookup as opposed to WPF.

  • 0 comments  /  posted by  Silverlight Show  on  Jul 01, 2010 (11 months ago)
    Tags: Commands , MVVM , WPF
    Morgan has an interesting blog post on how he finds it painful to implement commands in WPF application and he wanted to show a solution on that problem.

    I’ve been using MVVM since I started WPF (I was a latecomer to the beauty that is WPF) and one of the things that’s always irked me is the amount of code you need to write in order to expose a command. I’ll typically write something like the following in order to create a command that I can bind to from the UI…

  • Command Binding in Silverlight 4 (Step-by-Step)

    0 comments  /  posted by  Silverlight Show  on  May 03, 2010 (more than a year ago)
    Take a look at this great post of Kunal Chowdhury about command binding in Silverlight 4 published at DotNetFunda.

    Silverlight 4 now came up with the support of Command Binding. Using Command binding you can easily develop your Silverlight MVVM (Model-View-ViewModel) applications where your view will not know about data. In this article, I will describe you the Command binding feature in Silverlight 4 Step-by-Step.

  • 0 comments  /  posted by  Silverlight Show  on  Mar 25, 2010 (more than a year ago)
    In this post Alexey Zakharov is trying to find a way to pass EventArgs as CommandParameter to DelegateCommand triggered by EventTrigger.

    By reverse engineering of default InvokeCommandAction I find that blend team just ignores event args.

    To resolve this issue I have created my own action for triggering delegate commands.

  • 0 comments  /  posted by  Silverlight Show  on  Jan 28, 2010 (more than a year ago)
    Here Vincent Leung talks about the ICommand implementation in Silverlight 4.

    In Silverlight 4, ButtonBase (and all its derived versions) and HyperlinkButton now support Command and CommandParameter to tie ICommand implementations.  For example, in XAML I can tie two different buttons to the SaveCommand that I have on some object i’ve bound to my UI.

  • 0 comments  /  posted by  Silverlight Show  on  Jan 22, 2010 (more than a year ago)
    In this post Shawn Wildermuth demonstrates how to use Silverlight 4's new support for Commands.

    For those of you who have been living in the world of WPF, this post will be old-hat, but for the purely Silverlight folks I am hoping to help you change the way you add functionality to your applications.

  • 0 comments  /  posted by  Silverlight Show  on  Dec 02, 2009 (more than a year ago)

    Jeff Prosise discusses one of the exciting new features in the Silverlight 4 beta, namely a pair of properties added to the ButtonBase and Hyperlink classes named Command and CommandParameter.

    These properties represent the first real support in Silverlight for commanding, which is primarily beneficial to to Model-View-ViewModel (MVVM) applications. MVVM has long been popular among WPF developers and is rapidly gaining popularity with Silverlight developers. And now, thanks to commanding, Silverlight comes a little closer to supporting pure MVVM implementations without help from auxiliary frameworks such as Prism.

  • 0 comments  /  posted by  Silverlight Show  on  Nov 25, 2009 (more than a year ago)

     In this screencast Michael Wolf shows how to simply execute any command from Silverlight.

    In my last post on out of browser we showed how easy and powerful it is , all be it a bit of a step back in the development time machine, to execute native windows applications using the new com support in silverlight 4. The next logical question arises, that if you can execute com can you also execute a local process. The answer is yes and no. You can execute a local process, not using System.Diagnostics.Process.Start() like you would in the full CLR, but using the COM inerop and the Windows Script Host . The Windows Script Host is a multi purpose COM object that’s shipped with Windows since Win 98, and generally used for automation tasks, which makes it perfect for use in silverlight com inerop. 

  • 0 comments  /  posted by  Silverlight Show  on  Oct 05, 2009 (more than a year ago)
    Laurent Bugnion explains how RelayCommands might work wonders in Silverlight and also in WPF.

    In Silverlight, parts of the “plumbing” are available already (the ICommand interface) but most of it is missing. This led some very clever people to implement Commands in Silverlight, to replace the missing pieces by a custom implementation. In Prism, the command implementation is called DelegateCommand. In my MVVM Light Toolkit, I use a command that my good friend, colleague at IdentityMine and fellow WPF Disciple Josh Smith created, called the RelayCommand.

  • Blendable MVVM: Commands and Behaviors

    0 comments  /  posted by  Silverlight Show  on  Oct 01, 2009 (more than a year ago)
    Tags: MVVM , Commands , Behaviors

    In this second MVVM post Nigel Sampson produces an ExecuteCommand that provides support for Commands.

    In the first post of the series we looked at using Binding expressions to display data from the ViewModel on our screen. The other major part of our interaction is having the view invoke functionality in the ViewModel. In the MVVM pattern this is done using the Command pattern, specifically the ICommand interface.

    Read Nigel's previous post called "Blendable MVVM : Introduction and Databinding".

  • 1
  • 2