Syncfusion.Grid.Windows
Example 


CoveredRanges Property (GridControl)

See GridModel.CoveredRanges in the GridModel class for information.
Syntax
'Declaration
 
<CategoryAttribute("Grid Contents")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
<BrowsableAttribute(True)>
<DescriptionAttribute("The collection with covered ranges.")>
Public ReadOnly Property CoveredRanges As GridModelCoveredRanges
'Usage
 
Dim instance As GridControl
Dim value As GridModelCoveredRanges
 
value = instance.CoveredRanges
[Category("Grid Contents")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Browsable(true)]
[Description("The collection with covered ranges.")]
public GridModelCoveredRanges CoveredRanges {get;}
Example
This example shows how to use CoveredRanges property.
// Defining the covered range.
GridRangeInfo coveredRange = GridRangeInfo.Cells(1, 2, 5, 5);
// Adding the range to be covered.
this.gridControl1.CoveredRanges.Add(coveredRange);
' Defining the covered range.
Dim coveredRange As GridRangeInfo = GridRangeInfo.Cells(1, 2, 5, 5)
' Adding the range to be covered.
Me.gridControl1.CoveredRanges.Add(coveredRange)
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also