Exercises

View without collections

The next exercise will allow you to execute the tutorial 1 steps to verify that you understand how to do it by yourself. Do the full exercise refering to the Tutorial or the Examples as much as needed but do not look at the solution until you finish it, otherwise the exercise will simply turn into another example.

Exercise Details

  1. Create a settings view like the one at the image.
  2. 'Font Size' will have 4 possible values: Small, Medium, Big and Super
  3. The Reset button will delete all the data in the view ('Font Size' will be set to Small).
  4. If the option 'Start' is un-checked the option 'Auto Start' will be disabled.
  5. The Ok and the Cancel buttons will simulate its operation opening a MessageBox with an Ok or Cancel message (you can call directly the messagebox from the command).

View with collections

The next exercise will allow you to execute the tutorial 1 steps to verify that you understand how to do it by yourself. Do the full exercise refering to the Tutorial or the Examples as much as needed but do not look at the solution until you finish it, otherwise the exercise will simply turn into another example.

Exercise Details

  1. Create a settings view like the one at the image.
  2. The 'Font Size' combobox will have 4 possible values: Small, Medium, Big and Super
  3. The Reset button will delete all the data in the view ('Font Size' will be set to Small).
  4. The Ok and the Cancel buttons will simulate its operation opening a MessageBox with an Ok or Cancel message (you can call directly the messagebox from the command).

View without collections

The next exercise will allow you to verify that you understand how to create a View without collections following the MVVM pattern it by yourself. Do the full exercise refering to the Tutorial or the Examples as much as needed but try to not look at the solution until you finish it, otherwise the exercise will simply turn into another example.

Exercise Details

  1. Create a settings view like the one at the image.
  2. The 'Font Size' combobox will have 4 possible values: Small, Medium, Big and Super
  3. The Reset button will delete all the data in the view ('Font Size' will be set to Small).
  4. The Ok and the Cancel buttons will simulate its operation opening a MessageBox with an Ok or Cancel message (you can call directly the messagebox from the command).