I have a group of fields on a form. It is OK if they are all empty, but if one in the group has data, they all must have data. There are other fields with other validation rules that are not part of the group.
The fields are a combination of TimePicker, NumericTextBox, TextBox, MaskedTextBox, ComboBox and RadioButton. The fields always appear in a group so they aren't spread out all over the form.
The values need to be checked before the form is saved.
What's the best way of checking for all fields null or not null and if they are not all null or all not null then display a message. Ideally it would be nice to display which fields are missing.
I'm using the MVVM pattern
TIA