private void dg_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
TextBlock tb = dg.Columns[0].GetCellContent(e.AddedItems[0]) as TextBlock;
//tb.text will hold the Column Content
}

{
TextBlock tb = dg.Columns[0].GetCellContent(e.AddedItems[0]) as TextBlock;
//tb.text will hold the Column Content
}
No comments:
Post a Comment