I\'m looking for a way to find all controls on Window by their type,
for example: find all TextBoxes, find all controls implementing specific i
TextBoxes
This is the easiest way:
IEnumerable collection = control.Children.OfType();
where control is the root element of the window.