public void HideAllFlyouts() { foreach (var item in openFlyouts) { HideFlyout(item.Flyout); } } public void CloseFlyout(Flyout flyout)