/// <summary> /// Each time this page is disappearing, a floating button should be hidden. /// </summary> protected override void OnDisappearing() { // Stop listening for key events MenuKeyListener.Stop(this); // Make a floating button hidden ((App)Application.Current).HideFloatingButton(Title); }
private void Dialog_Shown(object sender, EventArgs e) { // Disable handling HW menu key while MoreMenuDialog is shown MenuKeyListener.Stop(this); }