Programmatically highlight selected appointment in scheduleview?

1 posts, 0 answers
  1. Sammy
    Sammy avatar
    26 posts
    Member since:
    Aug 2012

    Posted 19 Aug 2012 Link to this post

    How do you highlight the selected appointment, just like if a user clicked on the appointment?  The problem is, I have multiple appointments showing in the sheduleview, but I need to highlight the selected appointment, so the user can easily see the appointment.

    Currently, here is what I'm going:

    if (scheduleview != null)
    { //set the appt
        scheduleview.SelectedAppointment = appt;
    this.scheduleview.Dispatcher.BeginInvoke(() =>

         //scroll to the appt
        TimeSpan ts = appt.End-appt.Start;
        this.scheduleview.ScrollTimeRuler(ts, true);

    // how do I highlight it?

Back to Top