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
320
UltraDayView Appointment only show left border
posted

I am looking to only show the border for an appointment on the left hand side, I found a way to change the border color using appointment.Appearance.BorderColor = Color.FromArgb(214, 240, 254). This allowed me to essentially hide the border by making it the same color as the appointment, but I still want a black line on the left hand side or a left border. Any ideas?

Parents
No Data
Reply
  • 1980
    Offline posted

    Hello Matthew,

    You can remove specific borders of an appointment using a DrawFilter. In the DrawElement method you have to get the EditorWithTextUIElement of the appointment and draw its left border only.

    Attached is a sample project that demonstrates this approach. I get the EditorWithTextUIElement rectangle coordinates and draw a red border on its left side using the Graphics object.

    Sample_188311.zip
Children