WeekViewDefinition
Represents a definition of a view that shows all seven week days as in day view mode. This view provides a complete weekly overview with configurable first day of week and the ability to show or hide weekend days for work-week scenarios.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class WeekViewDefinition : MultidayViewDefinitionBase, INotifyPropertyChanged
Inheritance: objectViewDefinitionBaseMultidayViewDefinitionBaseWeekViewDefinition
Implements:
Inherited Members
Constructors
public WeekViewDefinition()
Fields
FirstDayOfWeekProperty
BindableProperty
Identifies the FirstDayOfWeek property.
public static readonly BindableProperty FirstDayOfWeekProperty
IsWeekendVisibleProperty
BindableProperty
Identifies the IsWeekendVisible property.
public static readonly BindableProperty IsWeekendVisibleProperty
Properties
Gets or sets the day that is considered the beginning of the week. When null, the system's default first day of week is used based on culture settings. This affects the order in which days are displayed in the week view.
public DayOfWeek? FirstDayOfWeek { get; set; }
A DayOfWeek value indicating the first day, or null for system default.
Gets or sets a value indicating whether the weekend days are visible, so that only the work week is displayed. When false, only Monday through Friday are shown, creating a work-week view. When true, all seven days of the week are displayed.
public bool IsWeekendVisible { get; set; }
True to show weekend days, false to show only weekdays. Default is true.
Methods
Creates the default title for the view definition.