Syncfusion.Grid.Windows
Example 


The column index of the cell range.

Col Method (GridRangeInfo)

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

Parameters

colIndex
The 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 column.
GridRangeInfo cellRange = GridRangeInfo.Col(3);
this.gridControl1.Model.CoveredRanges.Add(cellRange);
Dim cellRange As GridRangeInfo = GridRangeInfo.Col(3)
Me.gridControl1.Model.CoveredRanges.Add(cellRange)
AssemblyVersion

Syncfusion.Grid.Windows: 17.1460.0.47

See Also