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

GanttSettings.SettingsGanttView Property

Provides access to the Gantt’s view settings.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public GanttViewSettings SettingsGanttView { get; }

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