$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
DataGridView for Windows Forms
Create data gird view in C# with modern user interface for your Windows Forms applications
Home > WinForms UI Controls > User Manual > Selection Rectangle in C#

Translucent Rectangle Grid Rows Selection in C#

The DataGridView C#.NET Component allows users of the GridView WinForms control to select rows in rectangle in grid for Windows Forms applications. And the grid rows rectangle selection area will be translucent. The rows in the grid represents data record that is from the Data Source and the Kettic DataGridView Control provides the MultipleSelect property for users of the C# GridView component to perform the rectangle rows selection to DataGridView in C#.NET Windows Forms applications.

How to Perform Rectangle Grid Rows Selection

While we are going to select rows in translucent rectangle area in Kettic DataGridView, we need to use the property, MultipleSelect, to accomplish this. First, we should change the value of the MultipleSelect property to true and then the rectangle grid rows selection functionality will be automatically enabled. Second, users of the GridView control can easily select grid rows with a simple drag operation to choose some specified rows on Kettic DataGridView. Finally, we can find that a translucent rectangle will be created to indicate the possible grid rows or grid cells selection.

Enable Rectangle Grid Rows Selection in C#

The DataGridView C#.NET Component also allows users to enable the rectangle grid rows selection functionality in C# Windows Forms projects. There is a property available for users to enable or disable the grid rows and grid cells selection rectangle, the DisplayTranslucentSelectionRecatangle of the GridTableElement. The following is a simple C# code snippet that shows how to enable the grid rows and grid cells selection rectangle on DataGirdView for C# Windows Forms application.
C# code for disabling the selection rectangle

((GridTableElement)this.ketticGridView1.TableElement).DisplayTranslucentSelectionRectangle = true;
UI Controlsfor Windows Forms
.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls