How to handle EventArgs in SimpleMVVM Version 3?

Feb 28, 2013 at 11:12 PM
Edited Feb 28, 2013 at 11:12 PM
Hi

I am kinda confused on how to pass the "event args" with using triggers.

I was looking around and saw event command but then it says to use RelayCommand<EventArgs> but I don't see that as an options.

I have something like this

    <phone:WebBrowser IsScriptEnabled="True" d:LayoutOverrides="Width, Height" Source="{Binding AuthUri}" >
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="Navigated">
                        <SimpleMvvmToolkit:EventToCommand Command="{Binding Test, Mode=OneWay}"/>
                    </i:EventTrigger>
                </i:Interaction.Triggers>
            </phone:WebBrowser>
  private SimpleMvvmToolkit.DelegateCommand<System.Windows.Navigation.NavigationEventArgs> test;
        public SimpleMvvmToolkit.DelegateCommand<System.Windows.Navigation.NavigationEventArgs> Test
        {
            get
            {
                var d = "";
                return test;
            }
           
        }
I am using WP7.