Beispiel #1
0
 private void Grid_Tap(object sender, DataGridGestureEventArgs e)
 {
     if (e.Item != null)
     {
         var editForm = new EditFormPage(grid, grid.GetRow(e.RowHandle).Item);
         Navigation.PushAsync(editForm);
     }
 }
Beispiel #2
0
 private void DataGridView_DoubleTap(object sender, DataGridGestureEventArgs e)
 {
     if (e.Item != null)
     {
         var editForm = new EditFormPage(grid, grid.GetItem(e.RowHandle),
                                         (DataTemplate)Resources["CustomEditFormContent"]);
         Navigation.PushAsync(editForm);
     }
 }
Beispiel #3
0
 private void Grid_Tap(object sender, DataGridGestureEventArgs e)
 {
     if (e.Item != null)
     {
         var editForm = new EditFormPage(grid, grid.GetItem(e.RowHandle));
         editForm.ValidateCell += EditForm_ValidateCell;
         Navigation.PushAsync(editForm);
     }
 }
        void Handle_RowTap(object sender, RowTapEventArgs e)
        {
            if (dataGridView.EditorShowMode == EditorShowMode.Tap)
            {
                return;
            }
            var editFormPage = new EditFormPage(dataGridView, dataGridView.GetRow(e.RowHandle).DataObject);

            Navigation.PushAsync(editFormPage);
        }
Beispiel #5
0
        void Handle_Tap(object sender, DataGridGestureEventArgs e)
        {
            if (e.Item == null || dataGridView.EditorShowMode == EditorShowMode.Tap)
            {
                return;
            }
            var editFormPage = new EditFormPage(dataGridView, dataGridView.GetRow(e.RowHandle).Item);

            editFormPage.Disappearing += EditFormPage_Disappearing;
            editFormPage.ValidateCell += DataGridView_ValidateCell;
            Navigation.PushAsync(editFormPage);
        }