I have a column with a button for edit the row, but the id key is not a only value, but three value. How can I set the three value in the button so that when onclick the button, I can get three value in the code behind?
The Column
<dg:DataGridTemplateColumn Header="Edit">
<dg:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Button Content="Adjust" DataContext="{Binding wId1}" Click="EditButton_Click" />
</DataTemplate>
</dg:DataGridTemplateColumn.CellTemplate>
</dg:DataGridTemplateColumn>
I wanna pass wId1, wId2, wId3. Besides, it is possible to pass a value on that with string value wId1+wId2+wId3?
Please advice me any reading about this, thanks a lot.