26 lines
764 B
C#
26 lines
764 B
C#
using Microsoft.Maui.Graphics;
|
|
|
|
namespace cfs_tracker.ViewModels;
|
|
|
|
public class MonthCellViewModel
|
|
{
|
|
public bool IsRealDay { get; init; }
|
|
public DateTime Date { get; init; }
|
|
|
|
public string DayNumberText { get; init; } = "";
|
|
public string CountText { get; init; } = "";
|
|
|
|
public Color BackgroundColor { get; init; } = Colors.Transparent;
|
|
public Color BorderColor { get; init; } = Colors.Transparent;
|
|
public Color TextColor { get; init; } = Colors.Black;
|
|
|
|
public static MonthCellViewModel Placeholder() => new()
|
|
{
|
|
IsRealDay = false,
|
|
BackgroundColor = Colors.Transparent,
|
|
BorderColor = Colors.Transparent,
|
|
TextColor = Colors.Transparent,
|
|
DayNumberText = "",
|
|
CountText = ""
|
|
};
|
|
} |