I'm trying to set custom tooltip using UltraToolTIpManager on UltraWeekView. TipStyleActivity set to None.
if (e.Element is MonthViewSingle.SingleDayAppointmentUIElement)
{
Appointment apt = this.ultraWeekView1.GetAppointmentFromPoint(
new Point(e.Element.Rect.X, e.Element.Rect.Y));
if (apt == null) return;
this.SetToolTipInfo(this.ultraWeekView1, apt); //**
}
**this.SetToolTipInfo(this.ultraWeekView1, apt); is my method that shows tooltip.
Everything works well except when the mouse is on UltraWeekView's Day header. I see the last or first appointment's tooltip When I move mouse on to a Day number on day header or when I move mouse to MoreActivityIndicator. I have tried to your entire forum and it looks like that not much info on this or any documentation that clearly explains about these UIElements like DayUIElement, AppointmentUIElement, SingleDayAppointmentUIElement etc. The documentation you have on your site about WinSchedule has just class names. Come on, why is it called "Documentation".I appreciate your help on this.
mgopireddy1 said: I checked the UIElement type when I moved the mouse on to a day header in UltraWeekView. The type is "Infragistics.Win.UltraWinSchedule.MonthViewSingle.SingleDayAppointmentUIElement" not DayNumberUIElement like you mentioned. Is this a bug? I'm handling this in MouseEnterElement event handler. I'm using Infragistics NetAdvantage 2006 Volume 1 CLR 2.0
I checked the UIElement type when I moved the mouse on to a day header in UltraWeekView. The type is "Infragistics.Win.UltraWinSchedule.MonthViewSingle.SingleDayAppointmentUIElement" not DayNumberUIElement like you mentioned. Is this a bug?
I'm handling this in MouseEnterElement event handler.
I'm using Infragistics NetAdvantage 2006 Volume 1 CLR 2.0
I'm using "NetAdvantage for .NET 2007 Vol. 3 CLR 2.0" Not " NetAdvantage 2006 Volume 1 CLR 2.0"
Do you have any documentation that explains each and every UIElement of UltraWeekView, UltraMonthViewSingle and UltraDayView. I checked the documentation on this website but it has only type names, no description at all. I have to assume what each element does without any proper descirption.I did implement MouseLeaveElement.
I'm not sure exactly what you are looking for...assuming the code snippet you posted is in the MouseEnterElement handler, you might also need to handle MouseLeaveElement and hide the tooltip, so that you don't get the "old" tooltip displaying for the new element. The UIElement used to represent the day headers in UltraWeekView is the Infragistics.Win.UltraWinSchedule.WeekView.DayNumberUIElement class.