Hello,
I've noticed that the public constructor for the AppointmentDialogViewModel class is marked as obsoleted and "will be deleted".
I'd like to ask you to reconsider deleting it.
Specifically, our scenario is that we have a split screen which:
- on the top area shows a ScheduleView
- on the bottom area shows a GridView of "unassigned" stuff, which can be dragged&dropped onto the ScheduleView for assignment
For the GridView, when double-clicking any of the items, we want to show almost the same information (95%) as when it would be assigned in the scheduleview. To reuse code we simply create a SchedulerWindow-derived window, set its content to a SchedulerWindow and create an AppointmentDialogViewModel for this window. Everything works great and we actually reuse the UI as well as the window command handlers & stuff.
If you'll remove the public constructor, any idea how we could accomplish the same scenario? Maybe you could replace the constructor with a factory method?...
Thanks,
Adrian
I've noticed that the public constructor for the AppointmentDialogViewModel class is marked as obsoleted and "will be deleted".
I'd like to ask you to reconsider deleting it.
Specifically, our scenario is that we have a split screen which:
- on the top area shows a ScheduleView
- on the bottom area shows a GridView of "unassigned" stuff, which can be dragged&dropped onto the ScheduleView for assignment
For the GridView, when double-clicking any of the items, we want to show almost the same information (95%) as when it would be assigned in the scheduleview. To reuse code we simply create a SchedulerWindow-derived window, set its content to a SchedulerWindow and create an AppointmentDialogViewModel for this window. Everything works great and we actually reuse the UI as well as the window command handlers & stuff.
If you'll remove the public constructor, any idea how we could accomplish the same scenario? Maybe you could replace the constructor with a factory method?...
Thanks,
Adrian