Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1187
always show left colorbar full height of appointment
posted

On the dayview, we set the barcolor for an appointment to present a status or the appointment.  is there an easy way to always have the left bar always be the full height of the appointment instead of actual time representation?  we have lots of appointments that are actually scheduled for time of 6 minutes with a 15 minute time slot.  the barcolor isn't as noticeable this way, we would prefer having the left bar color more visible than representing the appointment time.

 

  • 69832
    Offline posted

    It depends on how you define "easy"...in this case the bar color is not drawn by a separate UIElement, so you would have to use a draw filter (see Infragistics.Win.IUIElementDrawFilter interface). The interface only has two methods, you would want to handle the BeforeDrawElement method for the BeforeDrawForeground phase, and draw the bar yourself. The element classname is Infragistics.Win.UltraWinSchedule.DayView.AppointmentUIElement.