Пример #1
0
        /// <summary>
        /// Invoked when this page is about to be displayed in a Frame.
        /// </summary>
        /// <param name="e">Event data that describes how this page was reached.
        /// This parameter is typically used to configure the page.</param>
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            var sampleData = new Toyota.Data.SampleDataSource();

            FlipView4.ItemsSource = sampleData.Items;
            // flip1.ItemsSource = flip1;
            ContextControl.ItemsSource  = sampleData.Items;
            ContextControl1.ItemsSource = sampleData.Items;
            //ContextControl.SelectionChanged += ContextControl_SelectionChanged;
            //HardwareButtons.BackPressed += HardwareButtons_BackPressed;
        }
Пример #2
0
 /// <summary>
 /// Invoked when this page is about to be displayed in a Frame.
 /// </summary>
 /// <param name="e">Event data that describes how this page was reached.
 /// This parameter is typically used to configure the page.</param>
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     var sampleData = new Toyota.Data.SampleDataSource();
 }