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
30
How Can I change the thickness of the frame of Infragistics.Win.UltraWinSchedule.Appointment?
posted

Hi
How can I change the thickness of the frame of Infragistics.Win.UltraWinSchedule.Appointment object?
The ViewStyle of UltraCalendarLook is Office2007
I use UltraMonthViewSingle to display the Appointments

Here is line of code:

public static void CustomizeEventAppearance(Event r_oEvent, Infragistics.Win.UltraWinSchedule.Appointment r_oAppointment) {

                                       r_oAppointment.Appearance.BorderColor = Color.Blue;

                                      //r_oAppointment.Appearance.BorderWidth ????

Thank you very much

Parents
No Data
Reply
  • 69832
    Suggested Answer
    Offline posted

    The Appointment's border style is not exposed as a public property. You can achieve this using the IUIElementCreationFilter interface, by replacing the AppointmentUIElement instances with instances of a derived class that overrides the UIElement.BorderStyle property.

Children