Occurs when a cell is clicked.
The event handler receives an argument of type ClickCellEventArgs containing data related to this event. The following ClickCellEventArgs properties provide information specific to this event.
Property | Description |
---|
Cell | Returns the the cell the was clicked. |
The following snippet demonstrates displaying information about which cell was clicked.
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.
Private Sub ultraGrid1_ClickCell(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.ClickCellEventArgs)
Dim msg As String = String.Format("Clicked on the cell at row index {0} and column index {1}", _
e.Cell.Row.Index, _
e.Cell.Column.Index)
MessageBox.Show(msg)
End Sub
private void ultraGrid1_ClickCell(object sender, Infragistics.Win.UltraWinGrid.ClickCellEventArgs e)
{
string msg = String.Format("Clicked on the cell at row index {0} and column index {1}",
e.Cell.Row.Index,
e.Cell.Column.Index);
MessageBox.Show(msg);
}
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2