title: Access to all controls from a WPF windows
body: <p>I implemented a fonction in Visual Basic 2008 that takes the content of all the controls from a System.Winows.Form object and return a hash value corresponding to this content. The use of this function is to detect whether or not the user modified the content of the page and determine if I have to display a message box asking to save. I tried to do this in WPF but I can't seem to get all the controls in the form. 
  Is there any way to do this, or better, is there a function that does what I need?</p>
  
  <p>Thanks,</p>