BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridModel_QueryOleDataSourceData(object sender, GridQueryOleDataSourceDataEventArgs e) { e.DataObject.SetData(DataFormats.Text, "aaaaaaa"); e.Handled = true; e.Result = true; }
int row, col;
Point pt = this.gridControl1.PointToClient(Control.MousePosition);
if(this.gridControl1.PointToRowCol(pt, out row, out col, -1))
{
GridRangeInfo range = this.gridControl1.Selections.Ranges.ActiveRange;
Console.WriteLine("drag started at ({0},{1})", row, col);
Console.WriteLine("selection is {0}", range);
}