ArcGISWindowsPhoneSDK.MainPage.OnNavigatedTo C# (CSharp) 메소드

OnNavigatedTo() 보호된 메소드

protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
리턴 void
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            // Set the data context of the listbox control to the sample data
            if (DataContext == null)
                DataContext = App.ViewModel;
        }