Export (0) Print
Expand All

InvokeCommandAction

Expression Studio 4.0

The InvokeCommandAction action specifies the target object that contains the command that you want to invoke.

To add an InvokeCommandAction to a Windows Phone project

  1. In the Assets panel, click Behaviors, and then drag InvokeCommandAction onto the object that you want to add the action to. The Common Properties category appears in the Properties panel.

    tip noteTip:

    You can also add an InvokeCommandAction action by creating a data source that exposes an ICommand, and then dragging the ICommand from the Data panel onto an object on the artboard.

    NoteNote:

    The object to which the behavior is added provides the context within which this behavior operates.

  2. In the Common Properties category, in the Command box, select the command that you want to bind to. You can use the Artboard element picker Artboard Element Picker (data-bound) to select the binding, or click Data Bind Data Bind icon to define the binding in the Create Data Binding dialog box.

    InvokeCommandAction

To see a sample of this behavior, visit the Expression Community Gallery Hh134798.xtlink_newWindow(en-us,Expression.40).png.

  Copyright © 2011 by Microsoft Corporation. All rights reserved.
Show:
© 2014 Microsoft