BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void Model_QueryDragDropMoveClearCells(object sender, CancelEventArgs e)
{
e.Cancel = true;
}
2) It is by design and is part of the .NET Framework''s Control class support. Our grid''s inherit this behavior from the framework as they are derived from Control.
3)If you do not want to edit any cells, the simplest way to get this look is to set the grid''s ListBoxSelectionMode property, and then handle the CurrentCellActivating event. In your event handler, set e.ColIndex = 0.
GridOleDataSourceMouseController.HitTestSelectionEdge = 12;
>GridOleDataSourceMouseController.HitTestSelectionEdge = 12;
>
>
>
private void gridControl1_SelectionChanging(object sender, GridSelectionChangingEventArgs e) { if(e.Range.IsEmpty && 0 != (Control.MouseButtons & MouseButtons.Left)) { int row, col; Point pt = this.gridControl1.PointToClient(Control.MousePosition); if(this.gridControl1.PointToRowCol(pt, out row, out col)) { if(this.gridControl1.Selections.Ranges.AnyRangeContains(GridRangeInfo.Cell(row, col))) { e.Cancel = true; } } } }