public Pozdrav(NameRecord personData) { InitializeComponent(); BindingContext = personData; }
public MainPage() { InitializeComponent(); personData = new NameRecord(); BindingContext = personData; }