Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MonthViewCellStyle

    Show / Hide Table of Contents

    Class MonthViewCellStyle

    Month view cell style provides properties to customize the month cell using text color, font size, font family font attributes and background color.

    Inheritance
    System.Object
    MonthViewCellStyle
    Namespace: Syncfusion.SfSchedule.XForms
    Assembly: Syncfusion.SfSchedule.XForms.dll
    Syntax
    public class MonthViewCellStyle : Element, IThemeElement

    Constructors

    MonthViewCellStyle()

    Initializes a new instance of the MonthViewCellStyle class.

    Declaration
    public MonthViewCellStyle()

    Fields

    BackgroundColorProperty

    Gets or sets the Background Color for Month View Cell Style to customize the background color of the month cell view . This is a bindable property.

    Declaration
    public static readonly BindableProperty BackgroundColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    FontAttributesProperty

    Gets or sets the Font Attributes for Month View Cell Style to customize the displaying font attributes in month cell. This is bindable property.

    Declaration
    public static readonly BindableProperty FontAttributesProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    FontFamilyProperty

    Gets or sets the Font Family for Month View Cell Style to customize the displaying text font family in month cell. This is bindable property.

    Declaration
    public static readonly BindableProperty FontFamilyProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    FontSizeProperty

    Gets or sets the Font Size for Month View Cell Style to Customize the displaying text font size on the month cell. This is bindable property.

    Declaration
    public static readonly BindableProperty FontSizeProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    NextMonthBackgroundColorProperty

    Gets or sets the Next Month Background Color to customize the background color of next month cell view. This is a bindable property.

    Declaration
    public static readonly BindableProperty NextMonthBackgroundColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    NextMonthTextColorProperty

    Gets or sets the Next Month Text Color for Month View Cell Style to customize the text color of the next month cells. This is a bindable property.

    Declaration
    public static readonly BindableProperty NextMonthTextColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    PreviousMonthBackgroundColorProperty

    Gets or sets the Previous Month Background Color to customize the background color of previous month cell view. This is a bindable property.

    Declaration
    public static readonly BindableProperty PreviousMonthBackgroundColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    PreviousMonthTextColorProperty

    Gets or sets the Previous Month Text Color for Month View Cell Style to customize the text color of the previous month cells. This is a bindable property.

    Declaration
    public static readonly BindableProperty PreviousMonthTextColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    TextColorProperty

    Gets or sets the Text Color for Month View Cell Style to customize the text color of the displaying text in month cell view. This is a bindable property.

    Declaration
    public static readonly BindableProperty TextColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    TodayBackgroundColorProperty

    Gets or sets the Today Background Color for Month View Cell Style to customize the background color of the today month cell. This is a bindable property.

    Declaration
    public static readonly BindableProperty TodayBackgroundColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    TodayTextColorProperty

    Gets or sets the Today Text Color for Month View Cell Style to customize the displaying text color of today month cell. This is a bindable property.

    Declaration
    public static readonly BindableProperty TodayTextColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    BackgroundColor

    Gets or sets the Background Color for Month View Cell Style to customize the background color of the month cell view.

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    FontAttributes

    Gets or sets the Font Attributes for Month View Cell Style to customize the displaying font attributes in month cell.

    Declaration
    public FontAttributes FontAttributes { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.FontAttributes

    This property takes the FontAttributesvalue.

    FontFamily

    Gets or sets the Font Family for Month View Cell Style to customize the displaying text font family in month cell.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    This Property takes the System.String value.

    FontSize

    Gets or sets the Font Size for Month View Cell Style to Customize the displaying text font size on the month cell.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type Description
    System.Double

    This property takes the System.Doublevalue.

    NextMonthBackgroundColor

    Gets or sets the Next Month Background Color for Month View Cell Style to customize the background color for the next month cell view.

    Declaration
    public Color NextMonthBackgroundColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    NextMonthTextColor

    Gets or sets the Next Month Text Color for Month View Cell Style to customize the displaying text color of the next month cells.

    Declaration
    public Color NextMonthTextColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    PreviousMonthBackgroundColor

    Gets or sets the Previous Month Background Color for Month View Cell Style to customize the background color for the previous month cell view.

    Declaration
    public Color PreviousMonthBackgroundColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    PreviousMonthTextColor

    Gets or sets the Previous Month Text Color for Month View Cell Style to customize the displaying text color of the previous month cells.

    Declaration
    public Color PreviousMonthTextColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    TextColor

    Gets or sets the Text Color for Month View Cell Style to customize the text color of the displaying text in month cell view.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    TodayBackgroundColor

    Gets or sets the Today Background Color for Month View Cell Style to customize the background color of the today month cell.

    Declaration
    public Color TodayBackgroundColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    TodayTextColor

    Gets or sets the Today Text Color for Month View Cell Style to customize the displaying text color of today month cell.

    Declaration
    public Color TodayTextColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved