menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class YearCell - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class YearCell

    Year cell loaded event argument class.

    Inheritance
    System.Object
    YearCell
    YearCellLoadedEventArgs
    Namespace: Syncfusion.SfCalendar.XForms
    Assembly: Syncfusion.SfCalendar.XForms.dll
    Syntax
    public class YearCell : EventArgs

    Constructors

    YearCell(DateTime)

    Initializes a new instance of the YearCell class.

    Declaration
    public YearCell(DateTime calendar)
    Parameters
    Type Name Description
    System.DateTime calendar

    Calendar.

    Properties

    BackgroundColor

    Gets or sets the color of the background.

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

    The color of the background.

    Font

    Gets or sets the font.

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

    The font.

    FontAttribute

    Gets or sets the font attribute. Determines the style of the year cell view date text.

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

    The font attribute.

    FontFamily

    Gets or sets the font family.

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

    The font family.

    Month

    Gets the month.

    Declaration
    public DateTime Month { get; }
    Property Value
    Type Description
    System.DateTime

    The month.

    MonthHeaderBackgroundColor

    Gets or sets the color of the month header background.

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

    The color of the month header background.

    MonthHeaderTextColor

    Gets or sets the color of the month header text.

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

    The color of the month header text.

    MonthLayoutBackgroundColor

    Gets or sets the color of the month layout background.

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

    The color of the month layout background.

    TextColor

    Gets or sets the color of the text.

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

    The color of the text.

    View

    Gets or sets the view.

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

    The view.

    ViewMode

    Gets the calendar current view mode.

    Declaration
    public ViewMode ViewMode { get; }
    Property Value
    Type Description
    ViewMode

    The viewMode.

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