private void SubmitReadVolumes(object sender, KeyRoutedEventArgs e) { if (e.Key == VirtualKey.Enter) { ViewModel.ChangeVolumesCommand.Execute(null); ReadVolumesFlyout.Hide(); e.Handled = true; } }
private void ReadVolumesButton_OnClick(object sender, RoutedEventArgs e) { ReadVolumesFlyout.Hide(); }