Skip to main content

Daily.End Property

Specifies the daily recurrence’s end date.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v23.1.dll

NuGet Package: DevExpress.Web


public DateTime? End { get; set; }

Property Value

Type Default Description
Nullable<DateTime> null

The end date for the recurrence.


In markup:

<dx:ASPxGantt ID="Gantt" runat="server" ... /> 
            <Recurrence Start="2/22/2019" End="2/25/2019" />
                <dx:WorkTimeRange Start="08:00" End="10:00" />
                <dx:WorkTimeRange Start="15:00" End="18:00" />

In code:

DailyRule rule1 = new DailyRule();
rule1.WorkTimeRanges.AddRange( new List<WorkTimeRange>
    new WorkTimeRange(){ Start=new TimeSpan(08,00,00), End=new TimeSpan(10,00,00)},
    new WorkTimeRange(){ Start=new TimeSpan(15,00,00), End=new TimeSpan(18,00,00)}
rule1.Recurrence.Start = new DateTime(2019, 02, 22);
rule1.Recurrence.End = new DateTime(2019, 02, 25);



Online Demos

See Also