Background Image

Knowledge base articles about
customization

Search DlhSoft Team's blog for customization

Can we use controls from DlhSoft component libraries within our own component library projects? Our components, such as Hierarchical Data Library, Gantt Chart Library, or Project Management Library, can be used (as clearly mentioned within the EULA documents) ONLY for developing applications (that have executable targets). Moreover, you …

In order to customize the look (i.e. style and template) of a control from Gantt Chart Library for WPF or Project Management Library for WPF, you can start by using the default control style (or template) value which you can obtain, in clear XAML, from the Generic.xaml file from our Gantt Chart Control Styles sample archive, and apply your own changes to it, for …

By design and by default, to-Finish dependency types generate before constraints (i.e. the dependent task cannot finish after the predecessor's start/finish). Sometimes, this may be inconsistent with your requirements, which might require after constraints for to-Finish dependency types (i.e. the dependent task cannot finish before the predecessor's start/finish). To show you how you can resolve t…

By design and by default, when the end user drags and drops task bars in the Gantt Chart area, dependency constraints are applied within a standard task property change strategy indicated below: Start property value of the dependent task is changed during the drag and drop operation execution; When Start changes, Finish property value is updated in order to preserve task duration; Start and finish…

If you need to paint over the built in Gantt Chart drawing of GanttChartView control from Gantt Chart Library for Windows® Forms, you can do it by handling the PostPaint event referring to GanttChartArea inner control. However, if you want to paint your drawing before the built in paint event, you will need to handle the standard Paint event of the same component, and …

How can I define a fully custom scale type, with custom header text items in Gantt Chart Light Library? You should set the ScaleType and/or HeaderContentFormat properties of the Scale object to Custom, and define its custom scale intervals and/or header text items in code behind (after applying template): <pdgcc:GanttChartDataGrid.Scales> <pd…

If you need to define a custom Schedule object in Gantt Chart Library for Windows Forms you can only do it at the global level: DaytimeInterval[] defaultScheduleIntervals = new DaytimeInterval[] { new DaytimeInterval(8, 6) }; // Starting from 8 AM, 6 hours Dictionary<DayOfWeek, DaytimeInterval[]> specialDayOfWeekScheduleIntervals = …

If you need to define a custom schedule (specifying working and nonworking time for different days), time scale (displayed time headers), and/or timeline page (scrollable time interval) within Gantt Chart Library for WPF or Project Management Library for WPF, check the Custom Schedule, Custom Scale, and Custom Timeline sample applications for the control …

In order to use custom task identifiers or keys instead of the standard indexes and predecessor indexes within Gantt Chart Library for WPF or Project Management Library for WPF you need to define such custom properties at task item level and synchronize their values to the original properties used within databinding, and replace appropriate grid column bindings within the user int…

In order to customize the new task or new predecessor created through NewTask or NewPredecessor events within Gantt Chart Library for WPF or Project Management Library for WPF you should set the Item property value of the NewItemEventArguments object instance received as a paramter of your event handler to the custom new item you need. Furthermore, you can use the Paramet…

Silverlight™ and WPF do not include core DateTimePicker controls to be directly usable in CellEditTemplate definitions accepted by the DataGrid based components released by DlhSoft. However, you can the DatePicker control which allows selecting a date and then manually entering the time of day in the textbox, separated by a space. Moreover, we have a FinishDateConverter t…