BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridGroupingControl1_TableControlCurrentCellControlDoubleClick(object sender, GridTableControlControlEventArgs e) { int row, col; Point pt = e.TableControl.PointToClient(Control.MousePosition);; if (e.TableControl.PointToRowCol(pt, out row, out col)) e.TableControl.CurrentCell.AdjustRowColIfCoveredCell(ref row, ref col); tableCellStyle = e.TableControl.GetTableViewStyleInfo(row, col); contextElement = tableCellStyle.TableCellIdentity.DisplayElement; Console.WriteLine(row.ToString() + " " + col.ToString()); }
private void gridGroupingControl1_TableControlCurrentCellControlDoubleClick(object sender, GridTableControlControlEventArgs e) { int row, col; Point pt = e.TableControl.PointToClient(Control.MousePosition);; if (e.TableControl.PointToRowCol(pt, out row, out col)) e.TableControl.CurrentCell.AdjustRowColIfCoveredCell(ref row, ref col); tableCellStyle = e.TableControl.GetTableViewStyleInfo(row, col); Console.WriteLine(tableCellStyle.Text +" " + tableCellStyle.TableCellIdentity.Column.Name); }