private void AddItem(PopupItem item) { PopupItemContainer container = item.GetContainer(); container.PopupItem = item; this._popupStack.Items.Add(container); item._isHostAtViewStack = true; }
private void AddItem(PopupItem item) { PopupItemContainer container = item.GetContainer(); if (container == null) { container = new DefaultPopupItemContainer(); } container.PopupItem = item; this._popupStack.Items.Add(container); item._isHostAtViewStack = true; item.ParentPopup = this._parentPopupItem; }