This is a migrated thread and some comments may be shown as answers.

AutocompleteBox within a Edit Appointment

0 Answers 43 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Minh
Top achievements
Rank 1
Minh asked on 13 May 2016, 09:23 PM

Hi, I implemented an Autocompletebox within an Edit Appointment's dialog,I was able to set the ItemsSource to be a staticresource of the viewmodel, But I can't seem to set it as a property of my CustomAppointment. May I ask how do I do that.

 

Also upon creation of a new appointment, I send it off to make the changes in outlook as well. But the problem is that the code below is of type IAppointment. How do I get the value of the customappointment OnSchedulerAppointmentCreated 

        private void OnSchedulerAppointmentCreated(object sender, AppointmentCreatedEventArgs e)
        {
            (this.DataContext as CalendarViewModel).NewAppointment((CustomAppointment)e.CreatedAppointment);
        }

No answers yet. Maybe you can help?

Tags
ScheduleView
Asked by
Minh
Top achievements
Rank 1
Share this question
or