New to Telerik UI for WinForms? Start a free 30-day trial

Provides weekend visibility and workweek-boundary settings for Scheduler views.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public interface ISupportShowWeekend

Properties

Gets or sets whether weekend days are included in the view.

C#
bool ShowWeekend { get; set; }

Gets or sets the last day of the workweek. If it is earlier in the week than WorkWeekStart, the workweek continues from the beginning of the week.

C#
DayOfWeek WorkWeekEnd { get; set; }

Gets or sets the first day of the workweek. If it is later in the week than WorkWeekEnd, the workweek wraps through the end of the week.

C#
DayOfWeek WorkWeekStart { get; set; }

Methods

Determines whether a day falls within the configured workweek, including its start and end days.

C#
bool IsWorkingDay(DayOfWeek dayOfWeek)
Parameters:dayOfWeekDayOfWeek

The day to test.

Returns:

bool

true if the day is within the workweek; otherwise, false.