שלח תשובה

זירת השאלות

1411
צפיות
0
תשובות

windows phone – NavigationMode

,‏ 21 באפריל, 2012

I have the function –
protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e)
{
if (e.NavigationMode != System.Windows.Navigation.NavigationMode.Back)
{
State["Data"] = dataToBindControls;
}
base.OnNavigatedFrom(e);
}

But I get the Error –
Error 1 'System.Windows.Navigation.NavigationEventArgs' does not contain a definition for 'NavigationMode' and no extension method 'NavigationMode' accepting a first argument of type 'System.Windows.Navigation.NavigationEventArgs' could be found (are you missing a using directive or an assembly reference?)

Why?? Please Help!

תגיות: ,

0 תשובות

    שלח תשובה