Looping through child controls in WPF (C#)

Hey everyone,

As you all know, all I used to do was code all my stuff in Windows Forms. I’ve decided to switch over to WPF so I’m gently and at my own pace migrating from Windows Forms to WPF.
Everyone knows that when you migrate from one thing to another, you’ll always bump into the following problem:

“I was able to do this before, how am I supposed to do this now? ”

That has already happend a few times to me while working in WPF.

One of this issues I recently had, was that in Windows Forms it was easy to iterate over all the controls located within a form or container (GroupBox for example).
In WPF, it obviously didn’t work that way >.<

Continue reading Looping through child controls in WPF (C#)