title: WPF - clear all textboxes in tabcontrol not working
body: <p>I have an application with a tab control and several textboxes in each tab and when the user says so, I would like every text box in the window (called MainWindow) to be cleared. I used the method described <a href="https://stackoverflow.com/questions/974598/find-all-controls-in-wpf-window-by-type">here</a>, but it only seems to work for the textboxes in the tab that it is in focus.</p>