GanttSettings.SettingsGanttView Property

Provides access to the Gantt's view settings.

Namespace: DevExpress.Web.Mvc

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

Declaration

public GanttViewSettings SettingsGanttView { get; }
Public ReadOnly Property SettingsGanttView As GanttViewSettings

Property Value

Type Description
GanttViewSettings

Object that contains the Gantt's view settings.

Remarks

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    ...
    settings.SettingsGanttView.ViewType = GanttViewType.Hours;
    settings.SettingsGanttView.TaskTitlePosition = GanttTaskTitlePosition.Outside;
    settings.SettingsGanttView.ShowResources = false;
    ...
}).Bind(GanttDataProvider.Tasks, GanttDataProvider.Dependencies, GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments).GetHtml()

Online Demos

See Also