Background Image

Knowledge base articles about
mouse

Search DlhSoft Team's blog for mouse

When you handle mouse events and you check the DataContext property of the original source element routed by the event within a Gantt Chart control from Gantt Chart Library for WPF or Project Management Library for WPF, you may find out that its type is not Task, but TimeInterval instead, when the task is a standard task and AreTaskInterruptionsVisible is set to true to display ta…

If you need to set up mouse based panning besides the standard scrolling behavior of the Gantt Chart components within Gantt Chart Light Library, you may adapt and use this code (Silverlight™): GanttChartDataGrid.ApplyTemplate(); bool isPanning = false; double originalMouseX = 0, originalMouseY = 0, originalScrollX = 0, originalScrollY = 0; …