WPF Question MVVM
My Task is:
Entry of simple address data for a person (name, surname, street, postcode, city)
via an input mask. It should be possible to assign any number of telephone numbers
(private, business, mobile, etc.).
In the Screenshot u can see my Interface atm.
I want to implement telephone numbers now. But idk, how I should start with it..
2 Replies
I can't just extend the ListView to the right for each phone number, that would be unnecessarily complicated in my opinion
And also the question would be, since I am supposed to add as many phone numbers as I want for one person, what is the best way to do this in terms of UI?
--------
Sorry, I'm still pretty new to WPF
you could create a detailview for a person
basicly show in you datagrid just basic information (you could concat all the phonenumbers there) and when you doubleclick or on another action open another view where all the other information is provided. you could also then move the update person logic into the new view and add person logic into a seperate view so you have clear distinction what the user can do on a particular view