public bool IsDisplaying() { var form = PopupForm.GetInstance(false); return(form.Current == this && form.PopupState != PopupState.Pending); }
public void Show() { PopupForm.GetInstance(true).Show(this); }