10486 : TimeMoveMarkers that snap?

Question

Is it possible that the TimeItems and the TimeMoveMarkers snap in during moving or resizing the TimeItems dependent on the adjusted SnapStartTime/SnapStopTime?

Answer

I see your point, it would be a neat feature. Currently you will need to implement the OnTimeItem_Hoover, and check and change the e.Diff (the actual change) to a snapped value. The snapping can called from this event via gantt1.DateScaler.SnapStart(…

Leave a Reply