aspnetmvc-devexpress-dot-web-dot-mvc-dot-ganttsettings-912797f7.md
Provides access to the Gantt’s view settings.
Namespace : DevExpress.Web.Mvc
Assembly : DevExpress.Web.Mvc5.v25.2.dll
NuGet Package : DevExpress.Web.Mvc5
public GanttViewSettings SettingsGanttView { get; }
Public ReadOnly Property SettingsGanttView As GanttViewSettings
| Type | Description |
|---|---|
| GanttViewSettings |
Object that contains the Gantt’s view settings.
|
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()
See Also