Files
cfs-Tracker/ViewModels/MonthCellViewModel.cs
T
Djagor 2b0797f50f Details ausgearbeitet
Linked colors to options menu

Options extension

Aussehen aufgebohrt:
 - erlaubt text von status zu ändern,
 - bessere beschriftung von Farben

desing änderung und bedienung

- heute status felder anklickbar,
- Farbpalette verdunkelt und kontrast reduziert
- Kalender Tage anklickbar gemacht
- Optionen überarbeitet
2026-03-22 23:09:12 +01:00

14 lines
561 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 };
}