ClassWeekViewDefinition
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
WeekViewDefinition()
Declaration
public WeekViewDefinition()
Fields
FirstDayOfWeekProperty
Identifies the FirstDayOfWeek property.
Declaration
public static readonly BindableProperty FirstDayOfWeekProperty
Field Value
BindableProperty
IsWeekendVisibleProperty
Identifies the IsWeekendVisible property.
Declaration
public static readonly BindableProperty IsWeekendVisibleProperty
Field Value
BindableProperty
Properties
FirstDayOfWeek
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.
Declaration
public DayOfWeek? FirstDayOfWeek { get; set; }
Property Value
A DayOfWeek value indicating the first day, or null for system default.
IsWeekendVisible
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.
Declaration
public bool IsWeekendVisible { get; set; }
Property Value
True to show weekend days, false to show only weekdays. Default is true.
Methods
CreateDefaultTitle()
Creates the default title for the view definition.
Declaration
protected override string CreateDefaultTitle()
Returns
Overrides