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
245
Capture doubleClick event for a paticular day on a MonthView Calendar
posted

Is there a way to  capture doubleClick event for a paticular day on a MonthView Calendar?  The only event I see for this is the DoubleClick on the monthviewCalendar and that also captures double clicks that occur on the scrollbar or anywhere else on the calendar.

 

Parents
  • 69832
    Verified Answer
    Offline posted

    The control exposes a GetDayFromPoint method. If you call it in response to MouseDoubleClick, you will have the client coordinates you need, but if you call it from DoubleClick, don't forget to convert to client coordinates (i.e., use Control.PointToClient)

Reply Children
No Data