This project is read-only.
The CommandManager can be used in 2 ways. Either by binding a default command to one event on the control, or by binding a group commands to several different events

<Button Content="My Button" 
                        cmd:CommandManager.Command="{Binding MyCommand}"
                        cmd:CommandManager.CommandParameter="My Command Parameter"/>


<Button Content="Change Command">
            <cmd:CommandBinding EventName="Click"
                                Command="{Binding MyCommand}"
                                CommandParameter="My Command Parameter"/>
            <cmd:CommandBinding EventName="MouseEnter"
                                Command="{Binding MyOtherCommand}"
                                CommandParameter="My Other Command Parameter"/>

Last edited Feb 22, 2010 at 8:51 PM by ZeroKoll, version 4


No comments yet.