How to Command Property Bind in Silverlight 3.0 using MVVM Pattern

Oct 1 2012 8:30 AM
Hi All,
 
I am new in Silverlight 3.0 ,I want to Command Property bind using MVVM Pattern in Silverlight 3.0.
 
I have found some solution in google as below 
1. 
a. add in xaml - xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
b.  <Button x:Name="Submit" Content="Submit"    ClickMode="Press" Grid.Row="4" >
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="Click">
                    <i:InvokeCommandAction  CommandName="Submit"
                                CommandParameter="{Binding SubmitCommand, ElementName=Submit}"/>
                </i:EventTrigger>
            </i:Interaction.Triggers>
            <!--</i:KeyTriggerFiredOn>
                <i:EventTrigger EventName="Click">
                    <ei:CallMethodAction   TargetObject="{Binding}" MethodName="ShowCustomer"/>
                </i:EventTrigger>
            </i:Interaction.Triggers>-->
        </Button>
2
 
<Button x:Name="Submit" Content="Submit" ClickMode="Press" Command="Submit" Grid.Row="4" ></Button>
 
Above code is also not working. However Command Property is not in Silverlight 3.0
 

Can you please suggest me so that i can bind Command Property easily in Silverlight 3.0