Spread Windows Forms 12.0 Product Documentation
InCorner Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RangeGroupHitTestInformation Class : InCorner Property
Gets whether the location refers to an outline (range group) corner area.
Syntax
'Declaration
 
Public ReadOnly Property InCorner As Boolean
'Usage
 
Dim instance As RangeGroupHitTestInformation
Dim value As Boolean
 
value = instance.InCorner
public bool InCorner {get;}
Example
The example returns whether the location refers to range group corner 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.InCorner;
MessageBox.Show(b.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.InCorner
MsgBox(b.ToString())
End Sub
See Also

Reference

RangeGroupHitTestInformation Class
RangeGroupHitTestInformation Members