Ejemplo n.º 1
0
        public ExamplePage()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);            

            if (Windows.ApplicationModel.DesignMode.DesignModeEnabled)
            {
                this.DataContext = new ExampleDefinition() { Name = "An Example" };
            }            
        }
Ejemplo n.º 2
0
        public ExamplePage()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);

            if (Windows.ApplicationModel.DesignMode.DesignModeEnabled)
            {
                this.DataContext = new ExampleDefinition("An Example", null);
            }

            if (this.navigationHelper.HasHardwareButtons)
            {
                this.backButton.Visibility = Visibility.Collapsed;
            }
        }
Ejemplo n.º 3
0
        public MainPage()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
        }