Beispiel #1
0
 void o_Click(ViewModel.Items.ImagenItemViewModel e) {
       if (null != this._selectedItem) this._selectedItem.Selected = false;
       this._selectedItem = e;
       this._selectedItem.Selected = true;
       if (null != SelectedItemChanged) {
             SelectedItemChanged(this, null);
       }
 }
Beispiel #2
0
 public Imagen(ImagenItemViewModel item) {
       InitializeComponent();
       this._vm = item;
       image.Source = this._vm.Source;
       DataContext = this._vm;
 }