ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.5.2 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / BeforeDoubleClick Event

In This Topic
    BeforeDoubleClick Event (C1FlexPivotGrid)
    In This Topic
    Fires before the DoubleClick event is handled by the grid.
    Syntax
    'Declaration
     
    Public Event BeforeDoubleClick As BeforeMouseDownEventHandler
    public event BeforeMouseDownEventHandler BeforeDoubleClick
    Event Data

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

    PropertyDescription
    Gets which mouse button was pressed.  
    Gets or sets a value indicating whether the event should be canceled.  
    Gets the number of times the mouse button was pressed and released.  
    Gets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel.  
    Gets the x-coordinate of a mouse click.  
    Gets the y-coordinate of a mouse click.  
    Remarks
    This event fires before the grid processes the System.Windows.Forms.Control.DoubleClick event, and gives the program a chance to customize the behavior of the control and optionally cancel the default handling of the mouse.
    Example
    The code below handles the C1.Win.C1FlexGrid.C1FlexGridBase.BeforeDoubleClick event to detect double-clicks on cells in a specific column and provide a custom edit dialog instead of using the built-in editor.
    See Also