Наследование: Windows.UI.Xaml.DependencyObject
Пример #1
0
        public ItemPage()
        {
            InitializeComponent();

            _NavigationHelper = new NavigationHelper(this);
            _NavigationHelper.LoadState += NavigationHelper_LoadState;
            _NavigationHelper.SaveState += NavigationHelper_SaveState;
        } 
Пример #2
0
        public PivotPage()
        {
            InitializeComponent();

            NavigationCacheMode = NavigationCacheMode.Required;

            _NavigationHelper = new NavigationHelper(this);
            _NavigationHelper.LoadState += NavigationHelper_LoadState;
            _NavigationHelper.SaveState += NavigationHelper_SaveState;
        }
Пример #3
0
 public ConnectionViewModel(Page currentPage)
 {
     if (currentPage == null) throw new ArgumentNullException("currentPage");
     _navigationHelper = new NavigationHelper(currentPage);
     _connectCommand = new RelayCommand(OnConnect, CanConnect);
 }