private void Button_Clicked(object sender, EventArgs e) { Button button = sender as Button; GridRowButtonClickedEventArgs args = new GridRowButtonClickedEventArgs(); args.ButtonTag = (button.Tag ?? string.Empty).ToString(); args.RowData = Data; args.RowIndex = Index; ButtonClicked?.Invoke(button, args); }
private void MobileGridControl1_GridRowButtonClicked(object sender, GridRowButtonClickedEventArgs e) { listBox1.Items.Add(((e.RowData as Person).PersonName)); }
private void MobileGridRow_ButtonClicked(object sender, GridRowButtonClickedEventArgs e) { GridRowButtonClicked?.Invoke(sender, e); }