Hi,
Is there a way to have the location and the size of an appoinment in a dayview / weekView / MonthView?
I want to open a panel with a radiobutton under the appoinment, when the user is editing an appointment.
Thanks,
Marcelo.
Example:
using nsMonthViewSingle = Infragistics.Win.UltraWinSchedule.MonthViewSingle;
UIElement controlElement = control != null ? control.UIElement : null;UIElement elementFromPoint = controlElement != null ? controlElement.ElementFromPoint(e.Location) : null;nsMonthViewSingle.AppointmentUIElement appointmentElement = elementFromPoint != null ? elementFromPoint.GetAncestor( typeof(nsMonthViewSingle.AppointmentUIElement) ) as nsMonthViewSingle.AppointmentUIElement : null;
Note that there are other possible solutions to your problem, such as (a) a custom embeddable editor that has the panel with the option buttons or (b) using the IUIElementCreationFilter interface to position additional UIElements such as an OptionButtonUIElement.