Spread WPF 17
GrapeCity.Windows.SpreadSheet.UI Namespace / GcSpreadSheet Class / CellClick Event


In This Topic
    CellClick Event (GcSpreadSheet)
    In This Topic
    Occurs when the user presses down the left mouse button in a cell.
    Syntax
    'Declaration
     
    Public Event CellClick As EventHandler(Of CellClickEventArgs)
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim handler As EventHandler(Of CellClickEventArgs)
     
    AddHandler instance.CellClick, handler
    public event EventHandler<CellClickEventArgs> CellClick
    Event Data

    The event handler receives an argument of type CellClickEventArgs containing data related to this event. The following CellClickEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the mouse button that is clicked.  
    Gets the column index of the clicked cell.  
    Gets the row index of the clicked cell.  
    Gets the area the clicked cell is in.  
    See Also