Gets all named controls in the tree. If duplicate names exist, only the first occurrence is kept.
public static Dictionary<string, Control> GetNamedControls(this Visual root)
The root visual to search from.