public void Refresh(CardDraftPickVM cardVM, bool showGlobalMTGAHelperSays) { //this.vm.CardPopupImageUrl.Value = vm.CardPopupImageUrl.Value; //this.vm.Description.Value = vm.Description.Value; //this.vm.Rating.Value = vm.Rating.Value; //this.vm.TopCommonCard.Value = vm.TopCommonCard.Value; this.vm.SetDraftCard(cardVM, showGlobalMTGAHelperSays); }
public void Refresh(CardDraftPickVM cardVM, bool showGlobalMTGAHelperSays) { ViewModel.SetDraftCard(cardVM, showGlobalMTGAHelperSays); }
//public ObservableProperty<int> CardPopupTop { get; set; } = new ObservableProperty<int>(0); //public ObservableProperty<int> CardPopupLeft { get; set; } = new ObservableProperty<int>(0); public void SetDraftCard(CardDraftPickVM cardVM, bool showGlobalMTGAHelperSays) { Card = cardVM; ShowGlobalMTGAHelperSays.Value = showGlobalMTGAHelperSays; RaisePropertyChangedEvent(nameof(Card)); }
public void Refresh(CardDraftPickVM cardVM, bool showGlobalMTGAHelperSays, bool showAllDraftRatings, ICollection <CardDraftPickWpf> draftRatings) { ViewModel.SetDraftCard(cardVM, showGlobalMTGAHelperSays, showAllDraftRatings, draftRatings); }