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
I found it easier without Visual Tree Helpers:
foreach (UIElement element in MainWindow.Children) { if (element is TextBox) { if ((element as TextBox).Text != "") { //Do something } } };