How to identify each selected checkbox by datagrid row item
This is the Xaml Code for a datagrid and checkbox item being added to the
first row of the datagrid. I need a way of identifying the selected row
when the checkbox is checked.
<DataGridTemplateColumn >
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<CheckBox Name="chkCheckinMedication" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>
No comments:
Post a Comment