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

Popular posts from this blog

Shared / Static Class in vb.net/C#

Xamarin Forms : PopUp Page with RG.Plugins.Popup

Text was truncated or one or more characters had no match in the target code page.". (SQL Server Import and Export Wizard)