Spread Windows Forms 11.0 Product Documentation
Level Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RangeGroupInfo Class : Level Property
Gets or sets the level of this outline (range group).
Syntax
'Declaration
 
Public ReadOnly Property Level As Integer
'Usage
 
Dim instance As RangeGroupInfo
Dim value As Integer
 
value = instance.Level
public int Level {get;}
Example
This example returns the level of the range group.
private void Button1_Click(object sender, System.EventArgs e) 
{
FarPoint.Win.Spread.RangeGroupInfo[] rgi = fpSpread1.ActiveSheet.Columns.GetRangeGroupInfo(1);
MessageBox.Show(rgi[0].Level.ToString());
}
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim rgi() As FarPoint.Win.Spread.RangeGroupInfo = FpSpread1.ActiveSheet.Columns.GetRangeGroupInfo(1)
MsgBox(rgi(0).Level.ToString())
End Sub
See Also

Reference

RangeGroupInfo Class
RangeGroupInfo Members