Class
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:

cs-api-definition
public class MonthViewDefinition : ViewDefinitionBase, INotifyPropertyChanged

Inheritance: objectViewDefinitionBaseMonthViewDefinition

Implements: INotifyPropertyChanged

Inherited Members ViewDefinitionBase.TitlePropertyViewDefinitionBase.HeaderTextFormatPropertyViewDefinitionBase.TitleViewDefinitionBase.HeaderTextFormat

Constructors

MonthViewDefinition()

Initializes a new instance of the MonthViewDefinition class.

Declaration

cs-api-definition
public MonthViewDefinition()

Fields

DayMoreAppointmentsIndicatorStyleProperty

Identifies the DayMoreAppointmentsIndicatorStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty DayMoreAppointmentsIndicatorStyleProperty

Field Value

BindableProperty

DayNameStyleSelectorProperty

Identifies the DayNameStyleSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty DayNameStyleSelectorProperty

Field Value

BindableProperty

DayStringFormatProperty

Identifies the DayStringFormat bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty DayStringFormatProperty

Field Value

BindableProperty

DayStyleSelectorProperty

Identifies the DayStyleSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty DayStyleSelectorProperty

Field Value

BindableProperty

FirstDayOfWeekProperty

Identifies the FirstDayOfWeek property.

Declaration

cs-api-definition
public static readonly BindableProperty FirstDayOfWeekProperty

Field Value

BindableProperty

HorizontalLineStyleProperty

Identifies the HorizontalLineStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty HorizontalLineStyleProperty

Field Value

BindableProperty

LinesThicknessProperty

Identifies the LinesThickness property.

Declaration

cs-api-definition
public static readonly BindableProperty LinesThicknessProperty

Field Value

BindableProperty

VerticalLineStyleProperty

Identifies the VerticalLineStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty VerticalLineStyleProperty

Field Value

BindableProperty

WeekDayStringFormatProperty

Identifies the WeekDayStringFormat bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty WeekDayStringFormatProperty

Field Value

BindableProperty

Properties

DayMoreAppointmentsIndicatorStyle

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.

Declaration

cs-api-definition
public Style DayMoreAppointmentsIndicatorStyle { get; set; }

Property Value

Style

A Style object defining the appearance of the "more appointments" indicator.

DayNameStyleSelector

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.

Declaration

cs-api-definition
public IStyleSelector DayNameStyleSelector { get; set; }

Property Value

IStyleSelector

An IStyleSelector that provides styles for day name headers.

DayStringFormat

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.

Declaration

cs-api-definition
public string DayStringFormat { get; set; }

Property Value

string

A format string used to display day numbers. Uses standard .NET date format strings.

DayStyleSelector

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.

Declaration

cs-api-definition
public IStyleSelector DayStyleSelector { get; set; }

Property Value

IStyleSelector

An IStyleSelector that provides styles for day labels in the month calendar.

FirstDayOfWeek

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.

Declaration

cs-api-definition
public DayOfWeek? FirstDayOfWeek { get; set; }

Property Value

DayOfWeek?

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

HorizontalLineStyle

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.

Declaration

cs-api-definition
public Style HorizontalLineStyle { get; set; }

Property Value

Style

A Style object defining the appearance of horizontal separator lines.

LinesThickness

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.

Declaration

cs-api-definition
public double LinesThickness { get; set; }

Property Value

double

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

VerticalLineStyle

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.

Declaration

cs-api-definition
public Style VerticalLineStyle { get; set; }

Property Value

Style

A Style object defining the appearance of vertical separator lines.

WeekDayStringFormat

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.

Declaration

cs-api-definition
public string WeekDayStringFormat { get; set; }

Property Value

string

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

Methods

CreateDefaultTitle()

Creates the default title for the view definition.

Declaration

cs-api-definition
protected override string CreateDefaultTitle()

Returns

string

Overrides ViewDefinitionBase.CreateDefaultTitle()