Check out example codes for "windows forms iterate through all controls". It will help you in understanding the concepts better.

Code Example 1

private void LoopThroughControls(Control parent)
{
    foreach (Control c in parent.Controls)
    {
        if (c.GetType() == typeof(YourType)) {
            //Do stuff
        } else {
            LoopThroughControls(c);
        }
    }
}

Learn ReactJs, React Native from akashmittal.com