Occurs when a row is double-clicked.
The event handler receives an argument of type DoubleClickRowEventArgs containing data related to this event. The following DoubleClickRowEventArgs properties provide information specific to this event.
Returns the row in the grid which was double clicked on.
Returns the area of the row which was double clicked on.
This sample demonstrates how to use the DoubleClickRow event to show a custom dialog box when the user double-clicks on a row selector.
For an overview of how to handle events in Visual Basic or Visual C#, see Event Handlers in Visual Basic and Visual C#
. For specific information and code examples illustrating how to consume events in your application, see Consuming Events
in the .NET Framework Developer's Guide
|Visual Basic||Copy Code|
Private Sub ultraGrid1_DoubleClickRow(sender As Object, e As Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs) Handles Me.ultraGrid1.DoubleClickRow
If e.Row.Band.Key = "customers" And e.RowArea = RowArea.RowSelectorArea Then
Dim dlg As New CustomerInfoDialog(e.Row)
private void ultraGrid1_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e)
if( e.Row.Band.Key == "customers" && e.RowArea == RowArea.RowSelectorArea )
CustomerInfoDialog dlg = new CustomerInfoDialog( e.Row );