Skip to main content
A newer version of this page is available. .

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public EventHandler DataBinding { get; set; }

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