Syncfusion.Grid.Windows


Syncfusion.Windows.Forms.Grid Namespace > GridControlBase Class : CurrentCellControlDoubleClick Event

CurrentCellControlDoubleClick Event

Occurs when the current cell is in-place editing mode and the user double-clicks inside the control associated with the current cell.
Syntax
'Declaration
 
<DescriptionAttribute("Occurs when the current cell is in-place editing mode and the user double-clicks inside the control associated with the current cell.")>
<CategoryAttribute("Behavior")>
Public Event CurrentCellControlDoubleClick As ControlEventHandler
'Usage
 
Dim instance As GridControlBase
Dim handler As ControlEventHandler
 
AddHandler instance.CurrentCellControlDoubleClick, handler
[Description("Occurs when the current cell is in-place editing mode and the user double-clicks inside the control associated with the current cell.")]
[Category("Behavior")]
public event ControlEventHandler CurrentCellControlDoubleClick
Event Data

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

PropertyDescription
Gets the control object used by this event.  
Remarks
GridCurrentCell.ControlDoubleClick lets you detect a double click inside a cell for any CurrentCellActivateBehavior. If for example the focus is set to the renderer's control after the first click, the grid will listen for a MouseDown on the newly focused control and raise this event on a second click.

Check the associated GridCurrentCell.Renderer for state of the cell renderer.

Raising this event is only optional for the cell renderer that manages the active cell.

A text box will usually send this event when the associated TextBox control has received the focus after the cell is switched into edit mode and the user double-clicks. Other cell renderers may or may not send this event.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also