Spread Windows Forms 12.0 Product Documentation
X Property (CellClickEventArgs)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > CellClickEventArgs Class : X Property
Gets the x-coordinate of the pointer position.
Public ReadOnly Property X As Integer
Dim instance As CellClickEventArgs
Dim value As Integer
value = instance.X
public int X {get;}

Property Value

Integer X-coordinate of the pointer position
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
See Also


CellClickEventArgs Class
CellClickEventArgs Members