Back to Devexpress

GanttSettings.DataBinding Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-ganttsettings-63677d79.md

latest1.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

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

Property Value

TypeDescription
EventHandler

A delegate method that allows you to implement custom processing.

|

Remarks

Run Demo: MVCxGantt - Data Binding and Editing

csharp
settings.DataBinding = (sender, e) => { 
  MVCxGantt gantt = (MVCxGantt)sender; 
  // your code
}

See Also

GanttSettings Class

GanttSettings Members

DevExpress.Web.Mvc Namespace