Hi,
i have implemented a custom appointment editor dialog using the dialog host factory. Now i need access to the scheduleview instance from within the viewmodel of my appointment editor dialog. Especially i need to know from which viewdefinition (month, day, week...) the dialog was started so i can set the start and end dates appropriately.
I saw that the original appointmentdialogviewmodel (from which i have an instance in my custom editor viewmodel) has a property called DialogHost and this property has another property "ScheduleView" which is in fact the instance i need access to. However the "DialogHost" property on the appointmentDialogViewModel is protected so i can't access it within my viewmodel.
How can i get access to the scheduleview instance from within my custom view model?
best regards
matthias
i have implemented a custom appointment editor dialog using the dialog host factory. Now i need access to the scheduleview instance from within the viewmodel of my appointment editor dialog. Especially i need to know from which viewdefinition (month, day, week...) the dialog was started so i can set the start and end dates appropriately.
I saw that the original appointmentdialogviewmodel (from which i have an instance in my custom editor viewmodel) has a property called DialogHost and this property has another property "ScheduleView" which is in fact the instance i need access to. However the "DialogHost" property on the appointmentDialogViewModel is protected so i can't access it within my viewmodel.
How can i get access to the scheduleview instance from within my custom view model?
best regards
matthias