AutocompleteBox within a Edit Appointment

1 posts, 0 answers
  1. Minh
    Minh avatar
    43 posts
    Member since:
    May 2014

    Posted 13 May Link to this post

    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);

Back to Top