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

GanttViewSettings Class

Provides access to the gantt control’s view options.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxTreeList.v19.1.dll

Declaration

public class GanttViewSettings :
    TreeListSettingsBase

The following members return GanttViewSettings objects:

Remarks

The GanttViewSettings class contains options that specify the gantt control’s view settings. Use the SettingsGanttView property to access these settings.

Concept

Gantt Control

Example

<dx:ASPxGantt ID="Gantt" runat="server" ...>
    <Columns>
        <dx:GanttColumn FieldName="Subject" Width="180" />
        <dx:GanttColumn FieldName="StartDate" Width="100" DisplayFormat="MM/dd/yyyy" />
        <dx:GanttColumn FieldName="EndDate" Width="100" DisplayFormat="MM/dd/yyyy" /> 
    </Columns>
    <SettingsGanttView ShowResources="false" TaskTitlePosition="Outside" ViewType="Weeks" />
    <Mappings>
    ...
    </Mappings>
</dx:ASPxGantt>

Online Demo

ASPxGantt - Features

Implements

See Also