Version

RowSelectorClicked Event

This event is raised when a RowSelector is clicked.
Syntax
'Declaration
 
Public Event RowSelectorClicked As EventHandler(Of RowSelectorClickedEventArgs)
public event EventHandler<RowSelectorClickedEventArgs> RowSelectorClicked
Event Data

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.

PropertyDescription
Row The Row whose RowSelector has been clicked.
Example
This sample demonstrates how to handle the RowSelectorClicked event which is fired after the row selector is 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.

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");
}
<ig:XamGrid x:Name="MyGrid" 
    
RowSelectorClicked="MyGrid_RowSelectorClicked">
</ig:XamGrid>
Requirements

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

See Also