public static bool GetStaysOpen(Windows.Popup popup) { //popup.AssertNotNull("popup"); return (bool)popup.GetValue(StaysOpenProperty); }