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

WorkdaysOptions.Workdays Property

Specifies which days of the week are the workdays.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

Declaration

public Weekday Workdays { get; set; }

Property Value

Type Description
Weekday

A Weekday enumeration value(s), specifying the workdays for the week.

Available values:

Name Description
None

Weekday is not specified.

Sunday

Identifies Sunday.

Monday

Identifies Monday.

Tuesday

Identifies Tuesday.

Wednesday

Identifies Wednesday.

Thursday

Identifies Thursday.

Friday

Identifies Friday.

Saturday

Identifies Saturday.

Property Paths

You can access this nested property as listed below:

Object Type Path to Workdays
AutomaticDateTimeScaleOptions
.WorkdaysOptions.Workdays
ContinuousDateTimeScaleOptions
.WorkdaysOptions.Workdays
DateTimeScaleOptionsBase
.WorkdaysOptions.Workdays
IntervalDateTimeScaleOptions
.WorkdaysOptions.Workdays
ManualDateTimeScaleOptions
.WorkdaysOptions.Workdays

Remarks

Apart from specifying the workdays within the week, you can define strict workdays (which have priority over the WorkdaysOptions.Holidays property setting), using the WorkdaysOptions.ExactWorkdays property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Workdays property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also