Class MonthViewSettings
Month view settings inherits the View
class.
Inheritance
Namespace: Syncfusion.SfCalendar.XForms
Assembly: Syncfusion.SfCalendar.XForms.dll
Syntax
public class MonthViewSettings : Element, IThemeElement
Constructors
MonthViewSettings()
Initializes a new instance of the MonthViewSettings class.
Declaration
public MonthViewSettings()
Fields
AgendaSelectedDateColorProperty
Sets and gets the text color of the agenda date text in the SfCalendar control.
Declaration
public static readonly BindableProperty AgendaSelectedDateColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
BlackoutColorProperty
Sets and gets the blackout date color.
Declaration
public static readonly BindableProperty BlackoutColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
BorderColorProperty
Determines the color of border in the SfCalendar control.
Declaration
public static readonly BindableProperty BorderColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
CellGridOptionsProperty
The show horizontal line property has True
as default value.
Declaration
public static readonly BindableProperty CellGridOptionsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
CellTemplateProperty
The DataSource holds the details about the events to be rendered in calendar.
Declaration
public static readonly BindableProperty CellTemplateProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
CurrentMonthBackgroundColorProperty
Determines the background color of the current month in SfCalendar.
Declaration
public static readonly BindableProperty CurrentMonthBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
CurrentMonthTextColorProperty
Determines the text color of the current month in SfCalendar.
Declaration
public static readonly BindableProperty CurrentMonthTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DateSelectionColorProperty
Determines the selected date color.
Declaration
public static readonly BindableProperty DateSelectionColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DateTextAlignmentProperty
The inline text color property used to set and get the text color of Inline event 's text in SfCalendar control.
Declaration
public static readonly BindableProperty DateTextAlignmentProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayCellFontFamilyProperty
Determines the font family of the day cell in SfCalendar.
Declaration
public static readonly BindableProperty DayCellFontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayCellFontProperty
Determines the font settings of day cell in SfCalendar.
Declaration
public static readonly BindableProperty DayCellFontProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayFontAttributesProperty
Gets or sets FontAttributes.This is bindable property.
Declaration
public static readonly BindableProperty DayFontAttributesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayFontSizeProperty
Determines the size of the day label size in SfCalendar.
Declaration
public static readonly BindableProperty DayFontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayHeaderBackgroundColorProperty
Determines the background color of the day header in SfCalendar.
Declaration
public static readonly BindableProperty DayHeaderBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayHeaderFontAttributesProperty
Gets or sets FontAttributes.This is bindable property.
Declaration
public static readonly BindableProperty DayHeaderFontAttributesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayHeaderFontFamilyProperty
Determines the font family of the day header in SfCalendar.
Declaration
public static readonly BindableProperty DayHeaderFontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayHeaderFontProperty
Determines the font settings of the day header in SfCalendar.
Declaration
public static readonly BindableProperty DayHeaderFontProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayHeaderFontSizeProperty
Determines the size of the day header label size in SfCalendar.
Declaration
public static readonly BindableProperty DayHeaderFontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayHeaderFormatProperty
Determines in which the format day of SfCalendar has to be displayed.
Declaration
public static readonly BindableProperty DayHeaderFormatProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayHeaderTextColorProperty
Determines the text color of the day header in SfCalendar.
Declaration
public static readonly BindableProperty DayHeaderTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayHeightProperty
Sets the height of the day cell in the SfCalendar control.
Declaration
public static readonly BindableProperty DayHeightProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DayLabelTextAlignmentProperty
The day label text alignment property determines the alignment positoin of day label in SfCalendar.
Declaration
public static readonly BindableProperty DayLabelTextAlignmentProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DisabledBackgroundColorProperty
Determines the background color of the disabled days in SfCalendar.
Declaration
public static readonly BindableProperty DisabledBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
DisabledTextColorProperty
Determines the text color of the disabled days in SfCalendar.
Declaration
public static readonly BindableProperty DisabledTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HeaderBackgroundColorProperty
The header background color property determines background color of header in SfCalendar.
Declaration
public static readonly BindableProperty HeaderBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HeaderFontAttributesProperty
Gets or sets FontAttributes.This is bindable property.
Declaration
public static readonly BindableProperty HeaderFontAttributesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HeaderFontFamilyProperty
Determines the font family of the header in SfCalendar.
Declaration
public static readonly BindableProperty HeaderFontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HeaderFontProperty
Determines the font settings of the header in SfCalendar.
Declaration
public static readonly BindableProperty HeaderFontProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HeaderFontSizeProperty
Determines the size of the header label size in SfCalendar.
Declaration
public static readonly BindableProperty HeaderFontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HeaderTextColorProperty
Determines the text color of the header in SfCalendar.
Declaration
public static readonly BindableProperty HeaderTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
InlineBackgroundColorProperty
Sets and gets the background color of the inline event cell.
Declaration
public static readonly BindableProperty InlineBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
InlineItemTemplateProperty
The DataSource holds the details about the events to be rendered in calendar.
Declaration
public static readonly BindableProperty InlineItemTemplateProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
InlineTextColorProperty
Sets and gets the text color of the inline event text in the SfCalendar control.
Declaration
public static readonly BindableProperty InlineTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
MonthViewLabelSettingsProperty
Determines the settings of the month label in SfCalendar.
Declaration
public static readonly BindableProperty MonthViewLabelSettingsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
PreviousMonthBackgroundColorProperty
Determines the background color of the previous month in SfCalendar.
Declaration
public static readonly BindableProperty PreviousMonthBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
PreviousMonthTextColorProperty
Determines the text color of the previous month in SfCalendar.
Declaration
public static readonly BindableProperty PreviousMonthTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SelectedDayTextColorProperty
The text color of selected date in monthview.
Declaration
public static readonly BindableProperty SelectedDayTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SelectionRadiusProperty
Sets and gets the text color of the inline event text in the SfCalendar control.
Declaration
public static readonly BindableProperty SelectionRadiusProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SelectionShapeProperty
Determines the font settings of the day header in SfCalendar.
Declaration
public static readonly BindableProperty SelectionShapeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TodayBorderColorProperty
Gets or sets the today border color for month view settings to customize the border color of today cell in month view. This is a bindable property.
Declaration
public static readonly BindableProperty TodayBorderColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TodaySelectionBackgroundColorProperty
Determines the selection Background color of the today date in SfCalendar.
Declaration
public static readonly BindableProperty TodaySelectionBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TodaySelectionTextColorProperty
Determines the selection text color of the today date in SfCalendar.
Declaration
public static readonly BindableProperty TodaySelectionTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TodayTextColorProperty
Determines the text color of the today date in SfCalendar.
Declaration
public static readonly BindableProperty TodayTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
WeekDayBackgroundColorProperty
Determines the background color of the week days in SfCalendar.
Declaration
public static readonly BindableProperty WeekDayBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
WeekDayTextColorProperty
Determines the text color of the week days in SfCalendar.
Declaration
public static readonly BindableProperty WeekDayTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
WeekEndBackgroundColorProperty
Determines the background color of the week end dates in SfCalendar.
Declaration
public static readonly BindableProperty WeekEndBackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
WeekEndTextColorProperty
Determines the text color of the week end date in SfCalendar.
Declaration
public static readonly BindableProperty WeekEndTextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
AgendaSelectedDateColor
Gets or sets the color of the agenda date text.
Declaration
public Color AgendaSelectedDateColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the inline text. |
Remarks
Not applicable for UWP.
BlackoutColor
Gets or sets the color of the blackout.
Declaration
public Color BlackoutColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the blackout. |
BorderColor
Gets or sets the color of the border.
Declaration
public Color BorderColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the border. |
CellGridOptions
Gets or sets a value indicating whether SfCalendar show horizontal lines.
Declaration
public CellGridOptions CellGridOptions { get; set; }
Property Value
Type | Description |
---|---|
CellGridOptions |
|
CellTemplate
Gets or sets the template to customizes the default month cell of calendar.
Declaration
public DataTemplate CellTemplate { get; set; }
Property Value
Type |
---|
Xamarin.Forms.DataTemplate |
CurrentMonthBackgroundColor
Gets or sets the color of the current month background.
Declaration
public Color CurrentMonthBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the current month background. |
CurrentMonthTextColor
Gets or sets the color of the current month text.
Declaration
public Color CurrentMonthTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the current month text. |
DateSelectionColor
Gets or sets the color of the date selection.
Declaration
public Color DateSelectionColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the date selection. |
DateTextAlignment
Gets or sets the color of the inline text.
Declaration
public DateTextAlignment DateTextAlignment { get; set; }
Property Value
Type | Description |
---|---|
DateTextAlignment | The color of the inline text. |
DayCellFont
Gets or sets the day cell font.
Declaration
public Font DayCellFont { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Font | The day cell font. |
DayCellFontFamily
Gets or sets the day cell font family.
Declaration
public string DayCellFontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | The day cell font family. |
DayFontAttributes
Gets or sets the day font attributes.
Declaration
public FontAttributes DayFontAttributes { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.FontAttributes | The day font attributes. |
DayFontSize
Gets or sets the size of the day font.
Declaration
public double DayFontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The size of the day font. |
DayHeaderBackgroundColor
Gets or sets the color of the day header background.
Declaration
public Color DayHeaderBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the day header background. |
DayHeaderFont
Gets or sets the day header font.
Declaration
public Font DayHeaderFont { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Font | The day header font. |
DayHeaderFontAttributes
Gets or sets the day header font attributes.
Declaration
public FontAttributes DayHeaderFontAttributes { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.FontAttributes | The day header font attributes. |
DayHeaderFontFamily
Gets or sets the day header font family.
Declaration
public string DayHeaderFontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | The day header font family. |
DayHeaderFontSize
Gets or sets the size of the day header font.
Declaration
public double DayHeaderFontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The size of the day header font. |
DayHeaderFormat
Gets or sets the day format.
Declaration
public string DayHeaderFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The day format. |
DayHeaderTextColor
Gets or sets the color of the day header text.
Declaration
public Color DayHeaderTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the day header text. |
DayHeight
Gets or sets the height of the day.
Declaration
public int DayHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The height of the day. |
DayLabelTextAlignment
Gets or sets Day Label Text Alignment.
Declaration
public DayLabelTextAlignment DayLabelTextAlignment { get; set; }
Property Value
Type |
---|
DayLabelTextAlignment |
DisabledBackgroundColor
Gets or sets the color of the disabled background.
Declaration
public Color DisabledBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the disabled background. |
DisabledTextColor
Gets or sets the color of the disabled text.
Declaration
public Color DisabledTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the disabled text. |
HeaderBackgroundColor
Gets or sets the color of the header background.
Declaration
public Color HeaderBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the header background. |
HeaderFont
Gets or sets the header font.
Declaration
public Font HeaderFont { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Font | The header font. |
HeaderFontAttributes
Gets or sets the header font attributes.
Declaration
public FontAttributes HeaderFontAttributes { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.FontAttributes | The header font attributes. |
HeaderFontFamily
Gets or sets the header font family.
Declaration
public string HeaderFontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | The header font family. |
HeaderFontSize
Gets or sets the size of the header font.
Declaration
public double HeaderFontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The size of the header font. |
HeaderTextColor
Gets or sets the color of the header text.
Declaration
public Color HeaderTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the header text. |
InlineBackgroundColor
Gets or sets the color of the inline background.
Declaration
public Color InlineBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the inline background. |
InlineItemTemplate
Gets or sets the inline item template.
Declaration
public DataTemplate InlineItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.DataTemplate | The inline item template. |
InlineTextColor
Gets or sets the color of the inline text.
Declaration
public Color InlineTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the inline text. |
MonthLabelSettings
Gets or sets the month label settings.
Declaration
public MonthLabelSettings MonthLabelSettings { get; set; }
Property Value
Type | Description |
---|---|
MonthLabelSettings | The month label settings. |
PreviousMonthBackgroundColor
Gets or sets the color of the previous month background.
Declaration
public Color PreviousMonthBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the previous month background. |
PreviousMonthTextColor
Gets or sets the color of the previous month text.
Declaration
public Color PreviousMonthTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the previous month text. |
SelectedDayTextColor
Gets or sets the color of the selected date text.
Declaration
public Color SelectedDayTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the selected date text. |
SelectionRadius
Gets or sets the color of the inline text.
Declaration
public int SelectionRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The color of the inline text. |
SelectionShape
Gets or sets the day header font.
Declaration
public SelectionShape SelectionShape { get; set; }
Property Value
Type | Description |
---|---|
SelectionShape | The day header font. |
TodayBorderColor
Gets or sets the today border color for month view settings to customize the border color of today cell in month view.
Declaration
public Color TodayBorderColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the today border. |
TodaySelectionBackgroundColor
Gets or sets the selection Background color of the today.
Declaration
public Color TodaySelectionBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the today selection background. |
TodaySelectionTextColor
Gets or sets the selection color of the today text.
Declaration
public Color TodaySelectionTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the today selection text. |
TodayTextColor
Gets or sets the color of the today text.
Declaration
public Color TodayTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the today text. |
WeekDayBackgroundColor
Gets or sets the color of the week day background.
Declaration
public Color WeekDayBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the week day background. |
WeekDayTextColor
Gets or sets the color of the week day text.
Declaration
public Color WeekDayTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the week day text. |
WeekEndBackgroundColor
Gets or sets the color of the week end background.
Declaration
public Color WeekEndBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the week end background. |
WeekEndTextColor
Gets or sets the color of the week end text.
Declaration
public Color WeekEndTextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the week end text. |