All docs
V19.2
19.2
19.1
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.

Monthly.Day Property

Specifies a day.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

[DefaultValue(1)]
public int Day { get; set; }
<DefaultValue(1)>
Public Property Day As Integer

Property Value

Type Default Description
Int32

1

A day.

Remarks

Declaratively:

<dx:ASPxGantt ID="Gantt" runat="server" ...>
  ...
    <WorkTimeRules>
        <dx:MonthlyRule IsWorkDay="false">
            <Recurrence Day="15" />
        </dx:MonthlyRule>
    </WorkTimeRules>
</dx:ASPxGantt>

In code:

MonthlyRule monthlyRule = new MonthlyRule();
monthlyRule.IsWorkDay = false;
monthlyRule.Recurrence.Day = 15;
Gantt.WorkTimeRules.Add(monthlyRule);

Concept

Work Time Rules

Online Demos

See Also