'Declaration Public Event RowSelectorClicked As EventHandler(Of RowSelectorClickedEventArgs)
public event EventHandler<RowSelectorClickedEventArgs> RowSelectorClicked
The event handler receives an argument of type RowSelectorClickedEventArgs containing data related to this event. The following RowSelectorClickedEventArgs properties provide information specific to this event.
AddHandler Me.MyGrid.RowSelectorClicked, AddressOf MyGrid_RowSelectorClicked Private Sub MyGrid_RowSelectorClicked(ByVal sender As System.Object, ByVal e As RowSelectorClickedEventArgs) System.Diagnostics.Debug.WriteLine("The following row with Product Name : " + e.Row.Cells(1).Value + " was selected") End Sub
this.MyGrid.RowSelectorClicked +=new EventHandler<RowSelectorClickedEventArgs>(MyGrid_RowSelectorClicked); private void MyGrid_RowSelectorClicked(object sender, RowSelectorClickedEventArgs e) { System.Diagnostics.Debug.WriteLine("The following row with Product Name : " + e.Row.Cells[1].Value+" was selected"); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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