Edit this page

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 RadScheduleView involves the following property:

  • AppointmentsSource - gets or sets the data source (IEnumerable) used to generate the Appointments in the RadScheduleView 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 AppointmentsSource should contain only objects that implement the IAppointment interface.

  • ResourceTypesSource - gets or sets the data source (IEnumerable) used to generate the ResourceTypes of the RadScheduleView 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 ResourceTypesSource should contain only objects of type ResourceType.

  • CategoriesSource - gets or sets the data source (IEnumerable) used to generate the Categories in the RadScheduleView 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 CategoriesSource should contain only objects of type Category.

  • TimeMarkersSource - gets or sets the data source (IEnumerable) used to generate the TimeMarkers in the RadScheduleView 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 TimeMarkersSource should contain only objects of type TimeMarker.

  • GroupDescriptionsSource - gets or sets the data source (IEnumerable<GroupDescription>) used to generate the GroupDescriptions in the RadScheduleView 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 GroupDescriptionsSource should contain only objects of type GroupDescription.

See Also