Exemple #1
0
 private void OpenDatePickerAppBar_OnClick(object sender, EventArgs e)
 {
     if (HiddenDatePickerGrid.Height < 1.0)
     {
         ShowDatePickerGrid.Begin();
     }
     else if (HiddenDatePickerGrid.Height > 79.0)
     {
         HideDatePickerGrid.Begin();
     }
 }
Exemple #2
0
        private void MainPagePivot_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (HiddenDatePickerGrid.Height > 79.0)
            {
                HideDatePickerGrid.Begin();
            }

            if (sender as Pivot != null)
            {
                UpdateApplicationBar(sender as Pivot);
            }
        }