public override void SetItem(OverlayItemModelBase item)
 {
     if (item != null)
     {
         this.viewModel = new OverlayEndCreditsItemViewModel((OverlayEndCreditsItemModel)item);
     }
 }
        public OverlayEndCreditsItemControl(OverlayEndCreditsItemModel item)
        {
            InitializeComponent();

            this.viewModel = new OverlayEndCreditsItemViewModel(item);
        }
Esempio n. 3
0
 public OverlayEndCreditsItemControl(OverlayEndCreditsItemViewModel viewModel)
     : this()
 {
     this.ViewModel = viewModel;
 }