Exemplo n.º 1
0
		private void ExecuteAddNew()
		{
			IsNewInProgress = true;
			NewItem = new CurrencyDetailsViewModel(this, new CurrencyEntity());
            OnPropertyChanged(() => this.CurrentItem);
			//Currencies.Add(NewItem);
			//CollectionViewSource.GetDefaultView(Currencies).MoveCurrentToLast();
		}
Exemplo n.º 2
0
		//leg DetailsViewModel de un CurentItem
		#endregion

		public void AddNewItem(CurrencyDetailsViewModel currencyDetailsViewModel)
		{
			Currencies.Add(NewItem);
			CollectionViewSource.GetDefaultView(Currencies).MoveCurrentToLast();
			IsNewInProgress = false;
		}