title: Generate Tree Diagram of Questions and Buttons in Xaml C#
body: <p>I am trying to set up page in XAML and C# with a question and some buttons on it and then each of those buttons redirects to another page based on the user answer to the question - essentially a tree diagram of questions and answers that leads the user to a result. However I am not sure what is going to be the easiest way to do this.</p>
  
  <p>Overall, the tree would contain approximately 60 Pages (nodes) with over 200 total buttons, a maximum of 4 buttons per page</p>
  
  <p>My initial approach was to try and hard code each of these pages but this has proved too difficult and was wondering if anyone could suggest a way of doing this programmatically.</p>
  
  <p>As an example (unrelated to the actual project). The first page might say "What is your gender" with the buttons "Male" and "Female", then if "Male" is clicked "Age?" with options ">18" and "&lt;18" and go on asking more and more questions at deeper levels.</p>
  
  <p>Many thanks in advance</p>