First version
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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 = ""
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user