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:

  • 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