Background Image

Knowledge base articles about
templates

Search DlhSoft Team's blog for templates

I am not able to convert specific C# sample applications, such as Bar Templating sample, to Visual Basic®. Can you help? We have manually converted the Bar Templating sample application for GanttChartTaskListView control (within Gantt Chart Library, using build 4.0.0) to Visual Basic®: Gantt Chart Bar Templating Visual Basic® sample.

The Bar Templating sample applications included with the product are using WPF attached properties to add special bar templating information to TaskItem objects (DependencyObject based). If you data bind the control ItemsSource to plain objects or to a rows in a DataTable/DataView, you are unable to use attached properties. To be able to customize the standard task bar template without using a…

Where can I find the default styles and templates for a DlhSoft component library, such as Hierarchical Data Library, Gantt Chart Library, or Project Management Library? The control styles archives (containing XAML resources for different available themes) can be found among other product sample applications (after the product overview sa…

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 …

Sometimes you want to display dependency lines as Bezier segments instead of straight lines and/or allow the end users to create item dependencies using drag and drop operations and delete them using context menu items when you use NetworkDiagramView component of Gantt Chart Light Library. To help you get started, we have prepared a Network Diagram depend…

For the most common scenarios, you can customize the Gantt Chart task bars presented by the GanttChartView, GanttChartDataGrid, ScheduleChartView, and ScheduleChartDataGrid controls from Gantt Chart Light Library by defining values for StandardTaskTemplate, SummaryTaskTemplate, and MilestoneTaskTemplate properties, specifying the user interface to be lo…

If you need to customize the tree cell template of the DataTreeGrid control from Hierarchical Data Light Library or of the GanttChartDataGrid control from Gantt Chart Light Library you should be aware that they don't automatically merge the custom DataTemplates that you might specify as DataTreeGridColumn.CellTemplate and/or DataTreeGridColumn.CellEditTempl…

To set up a specific task bar template when using Gantt Chart Hyper Library, you need to use ganttChartView.settings.*TaskTemplate and/or item.taskTemplate properties. A fully working example for improving touch capabilities of the presentation is presented below: ganttChartView.standardTaskTemplate = function (item) { var control = item.ganttChartVi…

If you set up grid column and task bar template functions when using Gantt Chart Hyper Library, and would like to export or print content from the component, you should write your custom code with extra care: Specifically, you'd need to ensure the document object refers to the current one of the item, and if you plan to access custom fields of the item object, y…

If you need to provide custom value editing features using special grid columns within the GanttChartView control from Gantt Chart Web Library, and, of course, to preserve client side changes upon postback server events, you need to follow these steps: At component initialization time (i.e. in Page_Load method of the Web page or user control, when Page.IsPostBack …

Is it possible to use custom task appearance (as indicated in Custom Appearance sample application) or task bar templating (as indicated in Bar Templating sample application) within the Gantt Chart control from Gantt Chart Library for WPF or Project Management Library for WPF data binding it to a collection of custom task item data obje…