Skip to main content

GanttSettings.SettingsGanttView Property

Provides access to the Gantt’s view settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.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

Run Demo: MVCxGantt - Chart Appearance

@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()

Examples

See Also