Spread Windows Forms 6.0 Product Documentation
RowLevel Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RangeGroupHitTestInformation Class : RowLevel Property


Glossary Item Box

Gets the row level location referred to in an outline (range group).

Syntax

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

Example

The example returns the row index of the hit test.
C#Copy Code
private void fpSpread1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) 
{
FarPoint.Win.Spread.RangeGroupHitTestInformation rght;
FarPoint.Win.Spread.HitTestInformation ht;
ht = fpSpread1.HitTest(e.X, e.Y);
rght = ht.RangeGroupInfo;
int x = rght.RowLevel;
int i = rght.RowIndex;
MessageBox.Show(x.ToString() + " - " + i.ToString());
}
Visual BasicCopy Code
Private Sub FpSpread1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles FpSpread1.MouseDown
Dim rght As FarPoint.Win.Spread.RangeGroupHitTestInformation
Dim ht As FarPoint.Win.Spread.HitTestInformation
ht = FpSpread1.HitTest(e.X, e.Y)
rght = ht.RangeGroupInfo
Dim x As Integer = rght.RowLevel
Dim i As Integer = rght.RowIndex
MsgBox(b.ToString() & " - " & i.ToString())
End Sub

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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