Is there a way to scroll through each control in a WPF grid and identyify the type of control? Such as:
foreach (Control c ingrid.Children)
{
if (c.GetType() == [textblock, button, etc.]
{
[Do something here.....]
}
}
Is there a way to scroll through each control in a WPF grid and identyify the type of control? Such as:
foreach (Control c ingrid.Children)
{
if (c.GetType() == [textblock, button, etc.]
{
[Do something here.....]
}
}