示例#1
0
        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());
        }
示例#2
0
 public FamiliaRow(gvn_ab_mobile.Controls.TableGridViewModel viewModel, object item, object itemViewModel = null) : base(viewModel, item, itemViewModel)
 {
     InitializeComponent();
 }
示例#3
0
        public TableGrid()
        {
            InitializeComponent();

            this.Content.BindingContext = this.viewModel = new TableGridViewModel(this);
        }