1411
צפיות
צפיות
0
תשובות
תשובות
windows phone – NavigationMode
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 תשובות