Syncfusion.Grid.Windows
Example 


The row index of the upper-left corner of the cell range.
The column index of the upper-left corner of the cell range.
The row index of the bottom-right corner of the cell range.
The column index of the bottom-right corner of the cell range.

Cells Method (GridRangeInfo)

Creates a new GridRangeInfo object with the specified bounds.
Syntax
'Declaration
 
<DebuggerStepThroughAttribute()>
Public Shared Function Cells( _
   ByVal top As Integer, _
   ByVal left As Integer, _
   ByVal bottom As Integer, _
   ByVal right As Integer _
) As GridRangeInfo
'Usage
 
Dim top As Integer
Dim left As Integer
Dim bottom As Integer
Dim right As Integer
Dim value As GridRangeInfo
 
value = GridRangeInfo.Cells(top, left, bottom, right)

Parameters

top
The row index of the upper-left corner of the cell range.
left
The column index of the upper-left corner of the cell range.
bottom
The row index of the bottom-right corner of the cell range.
right
The column index of the bottom-right corner of the cell range.

Return Value

The new GridRangeInfo that this method creates.
Example
This example shows how to set the RangeInfo for specified cells.
GridRangeInfo cellRange = GridRangeInfo.Cells(3, 4, 6, 7);
this.gridControl1.Model.CoveredRanges.Add(cellRange);
Dim cellRange As GridRangeInfo = GridRangeInfo.Cells(3, 4, 6, 7)
Me.gridControl1.Model.CoveredRanges.Add(cellRange)
AssemblyVersion

Syncfusion.Grid.Windows: 17.2460.0.46

See Also