Syncfusion - GridControl - Prevent removing of selected range when used mouse right click
Syncfusion - GridControl
How to Prevent removing of selected range when used mouse right click
The selection will be cleared when perform the right click on the selected range of cells. It can be restricted from clearing the selection using the SelectCellsMouseButtonsMask property. This will be used to display the context menu for performing the actions on the selected range of cells.
//Restrict the clearing of selection using the mouse right click.
this.gridControl1.SelectCellsMouseButtonsMask = System.Windows.Forms.MouseButtons.Left;
Comments
Post a Comment