All docs
V21.2
21.2
21.1
The page you are viewing does not exist in version 21.1. This link will take you to the root page.
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttViewSettings.EndDateRange Property

Specifies the end date of the date interval in the Gantt chart.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v21.2.dll

Declaration

[DefaultValue(typeof(DateTime), "")]
public DateTime EndDateRange { get; set; }

Property Value

Type Default Description
DateTime

String.Empty

The end date.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EndDateRange
ASP.NET MVC Extensions GanttSettings
.SettingsGanttView.EndDateRange
MVCxGantt
.SettingsGanttView.EndDateRange
ASP.NET Web Forms Controls ASPxGantt
.SettingsGanttView.EndDateRange

Remarks

Use the StartDateRange and the EndDateRange properties to specify the date interval in the Gantt chart.

Run Demo: ASPxGantt - Chart Appearance Run Demo: MVCxGantt - Chart Appearance

Web Forms:

<dx:ASPxGantt ID="Gantt" runat="server" ...>
    //...
    <SettingsGanttView 
        StartDateRange="2018-01-01"
        EndDateRange="2020-01-01" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.SettingsGanttView.StartDateRange = new DateTime(2018, 01, 01);
    settings.SettingsGanttView.EndDateRange = new DateTime(2020, 01, 01);
    ...
}).Bind(
    GanttDataProvider.Tasks, 
    GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, 
    GanttDataProvider.ResourceAssignments
).GetHtml()
See Also