Background Image

Knowledge base articles about
bars

Search DlhSoft Team's blog for bars

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…

In order to set the item (row) height within a component from Gantt Chart Library for WPF or Project Management Library for WPF you will need to set ItemHeight property values and optionally also BarHeight, BarMargin, and BarVerticalAlignment property values, at the control level (or at the item level, by using the similar attached properties for the appropriate control, such as G…

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…

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…

To drag and drop task assignment bars among resource rows in Schedule Chart controls from Gantt Chart Library for WPF or Project Management Library for WPF at runtime, you need to: Hover the assignment task bar you want to move; a dotted line will be displayed at the bottom of the task bar; Move the task bar to a different resource row (i.e. vertically…

How can we remove one of the two vertical scrollbars of composite Gantt Chart controls within Gantt Chart Library for WPF or Project Management Library for WPF? You should set the ScrollViewer.VerticalScrollBarVisibility property value to Hidden at the composite control level.

How can I customize the appearance of the current time vertical bar or highlight specific time intervals using vertical bar providers in Gantt Chart and relarted controls within Gantt Chart Library or Project Management Library? You can show vertical bars to highlight certain moments or time intervals in the chart area using a customized VerticalBarProviders collection se…

How can I highlight specific time intervals using vertical bars in Gantt Chart and relarted controls within Gantt Chart Light Library? You can show vertical bars to highlight certain time intervals in the chart area using a customized Scale object instance added to the Scales collection of the control, having the following properties values set: HeaderHeight: zero (the ps…

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…

Is it possible to have a parameter defined at the task level that would trigger the Gantt Chart control from Gantt Chart Library for WPF or Project Management Library for WPF to show task bars using different task bar colors? You need to set the attached property GanttChartView.StandardBarFill (of type Brush) for stan…