GanttSettings.DataBinding Property

Allows you to perform custom actions before a Gantt is bound to a data source.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public EventHandler DataBinding { get; set; }
Public Property DataBinding As EventHandler

Property Value

Type Description
EventHandler

A delegate method that allows you to implement custom processing.

Remarks

settings.DataBinding = (sender, e) => { 
  MVCxGantt gantt = (MVCxGantt)sender; 
  gantt.SettingsGanttView.ViewType = GanttViewType.Weeks;
  ...
}
See Also