MonthViewDefinition
Represents definition of a view that shows 42 days in month view mode. This view provides a traditional calendar layout with weeks arranged in rows, allowing users to see an entire month at a glance with appointments displayed within day cells.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class MonthViewDefinition : ViewDefinitionBase, INotifyPropertyChanged
Inheritance: objectViewDefinitionBaseMonthViewDefinition
Implements:
Inherited Members
Constructors
Initializes a new instance of the MonthViewDefinition class.
public MonthViewDefinition()
Fields
DayMoreAppointmentsIndicatorStyleProperty
BindableProperty
Identifies the DayMoreAppointmentsIndicatorStyle property.
public static readonly BindableProperty DayMoreAppointmentsIndicatorStyleProperty
DayNameStyleSelectorProperty
BindableProperty
Identifies the DayNameStyleSelector property.
public static readonly BindableProperty DayNameStyleSelectorProperty
DayStringFormatProperty
BindableProperty
Identifies the DayStringFormat bindable property.
public static readonly BindableProperty DayStringFormatProperty
DayStyleSelectorProperty
BindableProperty
Identifies the DayStyleSelector property.
public static readonly BindableProperty DayStyleSelectorProperty
FirstDayOfWeekProperty
BindableProperty
Identifies the FirstDayOfWeek property.
public static readonly BindableProperty FirstDayOfWeekProperty
HorizontalLineStyleProperty
BindableProperty
Identifies the HorizontalLineStyle property.
public static readonly BindableProperty HorizontalLineStyleProperty
LinesThicknessProperty
BindableProperty
Identifies the LinesThickness property.
public static readonly BindableProperty LinesThicknessProperty
VerticalLineStyleProperty
BindableProperty
Identifies the VerticalLineStyle property.
public static readonly BindableProperty VerticalLineStyleProperty
WeekDayStringFormatProperty
BindableProperty
Identifies the WeekDayStringFormat bindable property.
public static readonly BindableProperty WeekDayStringFormatProperty
Properties
Gets or sets the style of the more indicator label when the appointments cannot be visualized. This indicator appears when there are more appointments in a day cell than can be displayed, typically showing text like "+3 more" to indicate additional appointments.
public Style DayMoreAppointmentsIndicatorStyle { get; set; }
A Style object defining the appearance of the "more appointments" indicator.
Gets or sets the style selector of the day names. This style selector controls the appearance of day name headers (Mon, Tue, Wed, etc.) at the top of the month view, allowing different styling for different days.
public IStyleSelector DayNameStyleSelector { get; set; }
An IStyleSelector that provides styles for day name headers.
Gets or sets the string format of the day date. This property controls how the day numbers are displayed in each day cell of the month view, allowing customization of date presentation.
public string DayStringFormat { get; set; }
A format string used to display day numbers. Uses standard .NET date format strings.
Gets or sets the style selector of the days. This style selector enables conditional styling of day labels in the month view based on their state, such as highlighting today differently from other days.
public IStyleSelector DayStyleSelector { get; set; }
An IStyleSelector that provides styles for day labels in the month calendar.
Gets or sets the day that is considered the beginning of the week. This property affects how the month grid is laid out, determining which day appears in the first column of the calendar view.
public DayOfWeek? FirstDayOfWeek { get; set; }
A DayOfWeek value indicating the first day, or null for system default.
HorizontalLineStyle
Style
Gets or sets the style of the horizontal lines. Horizontal lines separate different weeks in the month view grid, creating visual separation between week rows in the calendar layout.
public Style HorizontalLineStyle { get; set; }
A Style object defining the appearance of horizontal separator lines.
Gets or sets the thickness of the lines. This property controls the visual weight of grid lines in the month view, affecting both horizontal and vertical separators between days and weeks.
public double LinesThickness { get; set; }
A double value representing line thickness in device-independent units.
VerticalLineStyle
Style
Gets or sets the style of the vertical lines. Vertical lines separate different days in the month view grid, providing visual boundaries between day columns in the calendar layout.
public Style VerticalLineStyle { get; set; }
A Style object defining the appearance of vertical separator lines.
Gets or sets the string format of the week day date. This property controls how the day names are displayed in the header row of the month view, allowing customization of weekday name presentation.
public string WeekDayStringFormat { get; set; }
A format string used to display weekday names. Uses standard .NET date format strings.
Methods
Creates the default title for the view definition.