Spread Windows Forms 7.0 Product Documentation
Level Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RangeGroupInfo Class : Level Property


Glossary Item Box

Gets or sets the level of this outline (range group).

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Level As Integer
Visual Basic (Usage)Copy Code
Dim instance As RangeGroupInfo
Dim value As Integer
 
value = instance.Level
C# 
public int Level {get;}

Example

This example returns the level of the range group.
C#Copy Code
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());
}
Visual BasicCopy Code
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.