Syncfusion.Grid.Windows
Example 


The left column index of the cell range.
The right column index of the cell range.

Cols Method (GridRangeInfo)

Creates a new GridRangeInfo object for the specified columns.
Syntax
'Declaration
 
<DebuggerStepThroughAttribute()>
Public Shared Function Cols( _
   ByVal left As Integer, _
   ByVal right As Integer _
) As GridRangeInfo
'Usage
 
Dim left As Integer
Dim right As Integer
Dim value As GridRangeInfo
 
value = GridRangeInfo.Cols(left, right)
[DebuggerStepThrough()]
public static GridRangeInfo Cols( 
   int left,
   int right
)

Parameters

left
The left column index of the cell range.
right
The right column index of the cell range.

Return Value

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

Syncfusion.Grid.Windows: 17.3460.0.9

See Also