Class MonthCellStyle
Represents a class which has properties for customizing the appearance of month cells, each cell displays the date of the specified month.Current month cell's text color and background can be differentiated from the previous and next month cells. Current date of the month can also be differentiated.
Inheritance
Implements
Namespace: Com.Syncfusion.Schedule
Assembly: Syncfusion.SfSchedule.Android.dll
Syntax
public class MonthCellStyle : Object, INotifyPropertyChanged
Constructors
MonthCellStyle()
Initializes a new instance of the MonthCellStyle class. Sets default value for properties.
Declaration
public MonthCellStyle()
Properties
BackgroundColor
Gets or sets the background color of month cell.
Declaration
public int BackgroundColor { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
NextMonthBackgroundColor
Gets or sets the background color for next month cells.
Declaration
public int NextMonthBackgroundColor { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
NextMonthTextColor
Gets or sets the text color for next month cell's text.
Declaration
public int NextMonthTextColor { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
PreviousMonthBackgroundColor
Gets or sets the background color for previous month cells.
Declaration
public int PreviousMonthBackgroundColor { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
PreviousMonthTextColor
Gets or sets the text color for previous month cell's text.
Declaration
public int PreviousMonthTextColor { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
TextColor
Gets or sets the color for text in the month cell.
Declaration
public int TextColor { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
TextSize
Gets or sets the size value for the text in the month cell.
Declaration
public double TextSize { get; set; }
Property Value
| Type |
|---|
| System.Double |
TextStyle
Gets or sets the font representation for text in the month cell.
Declaration
public Typeface TextStyle { get; set; }
Property Value
| Type |
|---|
| Android.Graphics.Typeface |
TodayBackgroundColor
Gets or sets the background color for current date cell of month.
Declaration
public int TodayBackgroundColor { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
TodayTextColor
Gets or sets the text color for current date text of month cell.
Declaration
public int TodayTextColor { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Methods
OnPropertyChanged(String)
Provides the data for the property changed event.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | propertyName | Property name. |
Events
PropertyChanged
Event handler which is raised when a property is changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| System.ComponentModel.PropertyChangedEventHandler |