예제 #1
0
        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);
        }
예제 #2
0
 private void MobileGridControl1_GridRowButtonClicked(object sender, GridRowButtonClickedEventArgs e)
 {
     listBox1.Items.Add(((e.RowData as Person).PersonName));
 }
예제 #3
0
 private void MobileGridRow_ButtonClicked(object sender, GridRowButtonClickedEventArgs e)
 {
     GridRowButtonClicked?.Invoke(sender, e);
 }