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
60
Adding images to UltraDayView appointments?
posted

I want to add an image to an appointment in an UltraDayView control.

I have the following code, but can't figure out where/how to assign the referenced ImageList.

I have tried in the designer and runtime with no luck.

I already have an ImageList Control on the WinForm.

 

                // Assign Look-n-Fell
                //
                Infragistics.Win.Appearance look = new Infragistics.Win.Appearance();
                look.Image = 3;
                a.Appearance = look;

                // Add Appointment
                //
                ocwCalendar.CalendarInfo.Appointments.Add(a);

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    There is no support for an ImageList. Assign a reference to the image itself to the Appearance.Image property, for example:

    look.Image = this.imageList1.Images[3];

Children