New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public class MonthViewDefinition : ViewDefinitionBase, INotifyPropertyChanged

Inheritance: objectViewDefinitionBaseMonthViewDefinition

Implements: INotifyPropertyChanged

Inherited Members ViewDefinitionBase.TitlePropertyViewDefinitionBase.HeaderTextFormatPropertyViewDefinitionBase.TitleViewDefinitionBase.HeaderTextFormat

Constructors

Initializes a new instance of the MonthViewDefinition class.

C#
public MonthViewDefinition()

Fields

Identifies the DayMoreAppointmentsIndicatorStyle property.

C#
public static readonly BindableProperty DayMoreAppointmentsIndicatorStyleProperty

Identifies the DayNameStyleSelector property.

C#
public static readonly BindableProperty DayNameStyleSelectorProperty

DayStringFormatProperty

BindableProperty

Identifies the DayStringFormat bindable property.

C#
public static readonly BindableProperty DayStringFormatProperty

DayStyleSelectorProperty

BindableProperty

Identifies the DayStyleSelector property.

C#
public static readonly BindableProperty DayStyleSelectorProperty

FirstDayOfWeekProperty

BindableProperty

Identifies the FirstDayOfWeek property.

C#
public static readonly BindableProperty FirstDayOfWeekProperty

Identifies the HorizontalLineStyle property.

C#
public static readonly BindableProperty HorizontalLineStyleProperty

LinesThicknessProperty

BindableProperty

Identifies the LinesThickness property.

C#
public static readonly BindableProperty LinesThicknessProperty

Identifies the VerticalLineStyle property.

C#
public static readonly BindableProperty VerticalLineStyleProperty

Identifies the WeekDayStringFormat bindable property.

C#
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.

C#
public Style DayMoreAppointmentsIndicatorStyle { get; set; }
Property Value:

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.

C#
public IStyleSelector DayNameStyleSelector { get; set; }
Property Value:

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.

C#
public string DayStringFormat { get; set; }
Property Value:

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.

C#
public IStyleSelector DayStyleSelector { get; set; }
Property Value:

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.

C#
public DayOfWeek? FirstDayOfWeek { get; set; }
Property Value:

A DayOfWeek value indicating the first day, or null for system default.

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.

C#
public Style HorizontalLineStyle { get; set; }
Property Value:

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.

C#
public double LinesThickness { get; set; }
Property Value:

A double value representing line thickness in device-independent units.

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.

C#
public Style VerticalLineStyle { get; set; }
Property Value:

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.

C#
public string WeekDayStringFormat { get; set; }
Property Value:

A format string used to display weekday names. Uses standard .NET date format strings.

Methods

Creates the default title for the view definition.

C#
protected override string CreateDefaultTitle()
Returns:

string

Overrides: ViewDefinitionBase.CreateDefaultTitle()