Spread Windows Forms 10.0 Product Documentation
InRowBar Property
Example 


Gets whether the location refers to an outline (range group) row bar area.
Syntax
'Declaration
 
Public ReadOnly Property InRowBar As Boolean
'Usage
 
Dim instance As RangeGroupHitTestInformation
Dim value As Boolean
 
value = instance.InRowBar
public bool InRowBar {get;}
Example
The example returns whether the location refers to range group row bar area.
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;
bool b = rght.InRowBar;
bool b2 = rght.InRowPanel;
MessageBox.Show(b.ToString() + " - " + b2.ToString());
}
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 b As Boolean = rght.InRowBar
Dim b2 As Boolean = rght.InRowPanel
MsgBox(b.ToString() & " - " & b2.ToString())
End Sub
Requirements

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

See Also

Reference

RangeGroupHitTestInformation Class
RangeGroupHitTestInformation Members

 

 


Copyright © GrapeCity, inc. All rights reserved.