public override void DisposingViewModel(uFrame.MVVM.ViewModel viewModel) { base.DisposingViewModel(viewModel); CardsPileViewModelManager.Remove(viewModel); }
public virtual void InitializeCardsPile(CardsPileViewModel viewModel) { // This is called when a CardsPileViewModel is created viewModel.PileCardsReorder.Action = this.PileCardsReorderHandler; CardsPileViewModelManager.Add(viewModel); }