Data Binding Support Overview

Data binding allows you to establish a link between the UI and the underlying business logic and keep them synchronized. It means that when a value is changed in the business layer, that change is automatically populated to the UI and vice versa. Of course, in order to work, you have to implement the proper notification or to use objects that have already implemented it.

Binding to RadGanttView involves the following property:

Telerik UI for WPF Ninja image

The Populating with Data is part of Telerik UI for WPF, a professional grade UI library with 160+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

  • TasksSource - gets or sets the data source (IEnumerable) used to generate the Tasks in the RadGanttView control. It can be bound to data from a variety of data sources in the form of common language runtime (CLR) objects and XML.

Note that the data source passed to the property TasksSource should contain only objects that implement the IGanttTask interface.

In this article