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
145
How to customize ultraDayView1_BeforeAppointmentToolTipDisplayed e.ToolTipText
posted

Hi,
I wonder how to customize the ToolTipText in ultraDayView1_BeforeAppointmentToolTipDisplayed.
I know how to alter the ToolTipText text like e.ToolTipText = "My first appointment".
But e.g. e.ToolTipText = "First line\r\nSecond line" is not working.
How is it possible to alter the size/backgroundcolor of the ToolTip?
Thanks for your help,
migeold.

Parents
  • 69832
    Verified Answer
    Offline posted

    migeold said:
    But e.g. e.ToolTipText = "First line\r\nSecond line" is not working

    Instead of "\r\n", use System.Environment.NewLine.

    migeold said:
    How is it possible to alter the size/backgroundcolor of the ToolTip?

    You can't, except by changing the UltraDayView.CalendarLook.ViewStyle property. If you need extended tooltip functionality, you can use the UltraToolTipManager component in conjunction with the control's MouseEnterElement/MouseLeaveElement events.

Reply Children
No Data