I have a grid. Inside the grid cells, there are borders. Borders contain textboxes which have text.
How to change the text in the textbox at row m and column n? I can find the border but can't access the child textblock of border using below code.
for (int i=0; i< MyGrid.Children.Count; i++)
{
UIElement child = MyGrid.Children[i];
if ((Grid.GetRow(child) == m) && (Grid.GetColumn(child) == n))
{
child.GetValue();
}
}
I want to find the text of child textblock of child (grid's child which is a border control)