private void RequestItemActivation(UPnPItem item, UPnPPage page) { // send ItemActivated only if there is only one item in the Items // list and it is the item that is selected. Otherwise just add // the item that is 'activated'. doing this causes the Gallery // to have an interim stage before calling for an activation of // the item (sending the event) if (DoActivation(item, page)) Open(item, page); else GoToDetails(item); }
private void GoToDetails(UPnPItem item) { PageManager.Push(Page.ePageType.AVItemDetails); SafeInvoke(() => { var detail = item.Copy<UPnPDetail>(); Items.Add(detail); }); OnPropertyChanged("ActivePageType"); }