Finds a control by its Name property in the visual tree.
public static Control? FindByName(this Visual root, string name)
The root visual to search from.
The name to search for.