Skip to main content

WeekDaysCheckEdit Class

Represents a control that allows the selection of days of the week, by checking the corresponding boxes.

Namespace: DevExpress.Xpf.Scheduler.UI

Assembly: DevExpress.Xpf.Scheduler.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public class WeekDaysCheckEdit :
    UserControl,
    INotifyPropertyChanged,
    IComponentConnector

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

To select or cancel the selection of a specific day within the control, use the Value property for the required day of the week (for example, WeekDaysCheckEdit.MondayValue, WeekDaysCheckEdit.TuesdayValue, etc.). To obtain the caption of the check box associated with a specific day, use the Caption property for the required day (WeekDaysCheckEdit.MondayCaption, WeekDaysCheckEdit.TuesdayCaption, etc.).

The combination of checked weekdays is available via the WeekDaysCheckEdit.WeekDays property of the control.

To save space, short names of the weekdays may be displayed by setting the WeekDaysCheckEdit.UseAbbreviatedDayNames property to true.

The typical appearance of the control is shown in the picture below.

WeekDaysCheckEdit

See Also