Hi,
Whenever my Mouse cursor is on UltraDayView/UltraWeekView, i want to collect some information like,
1. Which owner is under mouse cursor?
2. What is the Date under mouse cursor?
3. What is the Time under mouse cursor?
Also i found that all the UltraDayView Mouse Events are getting fired after the other UltradayView events.
For Example, i have two ultradayView events UltraDayView1_MouseMove and UltraDayView1_DragDrop.
So if i perform Drag drop then from some tab to UltraDayView, UltraDayView1_DragDrop event gets fired first, i want UltraDayView1_MouseMove (or any other Mouse event to ) to be fired before UltraDayView1_DragDrop so that before performing drag drop i could get the above details and then continue drag drop
Or is there any other way i can make owner under mouse active and then drag drop be performed?
Thanks,
Chitra
Hi Chitra,
Thank you for your feedback.
I am glad that you have resolved your issue. Let me know if you have any additional questions.
Hi Milko,
Thanks for your reply. I tried MouseMove event and it is working as expected.
Hello Chitra,
I am just checking about the progress of this issue. Let me know if you need my further assistance on it.
Thank you for using Infragistics Components.
Sincerely,
Milko
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you for contacting Infragistics Developers Support.
If I understand you correctly you need to collect information while the mouse is moving as well as when user performs drag and drop operation. In order to get owner, date and time information you need to work in MouseMove event. Please note UltraDayView and UltraWeekView controls have methods to get the appointment, owner, day and etc. from the point where mouse is. You can use this methods to collect the information you need. More about these methods you may find by following the next link http://help.infragistics.com/Help/Doc/WinForms/2014.2/CLR4.0/HTML/Infragistics4.Win.UltraWinSchedule.v14.2~Infragistics.Win.UltraWinSchedule.UltraDayView~GetAppointmentFromPoint(Point).html
In order to get same information while performing drag and drop operation you need to catch DragOver event and use same methods.
Please find small sample solution implementing this approach.
Please let me know if this is what you are looking for or if I am missing something.