Is there any built in way for the UltraTimeLineView to scroll vertically through owners if you drag an appointment to the bottom or top boundaries?
If not, then what is the best way to scroll vertically programatically?
Thanks.
Aaron,
I think you want to call the EnsureOwnerVisible method off the UltraTimeLineView. Take a look at this article from our on-line documentation:
http://help.infragistics.com/NetAdvantage/WinForms/2012.1/CLR2.0/?page=Infragistics2.Win.UltraWinSchedule.v12.1~Infragistics.Win.UltraWinSchedule.UltraTimelineView~EnsureOwnerVisible.html
Let me know if that works for you.
That brings an owner into view at the first row, which isn't really what I need.
What I am trying to see is:
User wants to drag an appointment to an owner row that is not currently visible
User left clicks on appointment and starts to drag
Since the owner they want to drag the appointment to is on a lower non-visible row they drag the appointment to the bottom of the TimeLineView
As they reach the edge of the control the owners begin to scroll
Once the owner row that the user is looking for scrolls into view then they drop that appointment on that row
The TimeLineView should work that way already by default. I have attached a sample application which comes from our Samples Browser which you can run and see this for yourself. Run the application and create an appointment and drag it to the bottom of the TimeLineView and you will see it will scroll through the owners. Try that and let me know what you find.
Hi!
I have the same problem as the original author. I have two UltraTimelineViews, one for unassigned appointments, one for owners. I have implemented event handling for AppointmentsDragging, DragOver and DragDrop as I will permit or prohibit appointment drop according to the owner in question. How should I get the UltraTimelineView having owners to scroll up/down if all owners are not visible? The scrolling (when dragging) works in your sample, but not with overridden event handling..
Have you got it working now?