public TableGridPage(TableGridViewModel viewModel, object item, object itemViewModel = null) { this.Item = item; this.ViewModel = viewModel; this.ItemViewModel = itemViewModel; this.BindingContext = this; this.Save = new Command(() => this.SaveExecute()); this.Cancel = new Command(() => this.CancelExecute()); }
public FamiliaRow(gvn_ab_mobile.Controls.TableGridViewModel viewModel, object item, object itemViewModel = null) : base(viewModel, item, itemViewModel) { InitializeComponent(); }
public TableGrid() { InitializeComponent(); this.Content.BindingContext = this.viewModel = new TableGridViewModel(this); }