public void Handle(Input.CancelT Action) { if (this.Parent is CC2CETsPage prnt) { prnt.DialogOpened = false; prnt.DialogPage = null; } else if (this.Parent is CurEventsPage prnt2) { prnt2.DialogOpened = false; prnt2.DialogPage = null; } //p.DialogOpened = false; //p.DialogPage = null; }
void Handle(Input.CancelT Action) { IsOpened = false; }