Spread Windows Forms 8.0 Product Documentation
Y Property (CellClickEventArgs)
Example 


Gets the y-coordinate of the pointer position.
Syntax
'Declaration
 
Public ReadOnly Property Y As Integer
'Usage
 
Dim instance As CellClickEventArgs
Dim value As Integer
 
value = instance.Y
public int Y {get;}

Property Value

Integer Y-coordinate of the pointer position
Example
This example uses the CellClick event.
private void fpSpread1CellClick(object sender, FarPoint.Win.Spread.CellClickEventArgs e)
{
         Point p = new Point(e.X, e.Y);
         MessageBox.Show("You clicked at " + p.X + " - " + p.Y);
}
Private Sub FpSpread1CellClick(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.CellClickEventArgs) Handles FpSpread1.CellClick
         MessageBox.Show("You clicked at " & e.X & " - " & e.Y)
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

Reference

CellClickEventArgs Class
CellClickEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.