Skip to content

Instantly share code, notes, and snippets.

@LucioMSP
Created July 22, 2019 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LucioMSP/d2b56163a3975a6f71c3b9bc41da2f4e to your computer and use it in GitHub Desktop.
Save LucioMSP/d2b56163a3975a6f71c3b9bc41da2f4e to your computer and use it in GitHub Desktop.
MainPageVM.cs
using Xamarin.Forms;
using System.Windows.Input;
using CurrencyUISample.Classes;
namespace CurrencyUISample.ViewModels
{
public class MainPageVM: ObservableObject
{
private INavigation _navigation;
public ICommand TransferMoneyCommand {get; set;}
public MainPageVM(INavigation navigation)
{
}
private decimal numbertoMoney { get; set; }
public decimal NumbertoMoney
{
get { return numbertoMoney; }
set
{
numbertoMoney = value;
OnPropertyChanged();
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment