private void OpenDatePickerAppBar_OnClick(object sender, EventArgs e) { if (HiddenDatePickerGrid.Height < 1.0) { ShowDatePickerGrid.Begin(); } else if (HiddenDatePickerGrid.Height > 79.0) { HideDatePickerGrid.Begin(); } }
private void MainPagePivot_OnSelectionChanged(object sender, SelectionChangedEventArgs e) { if (HiddenDatePickerGrid.Height > 79.0) { HideDatePickerGrid.Begin(); } if (sender as Pivot != null) { UpdateApplicationBar(sender as Pivot); } }