Class DayModel
public class DayModel
- Inheritance
-
DayModel
- Inherited Members
Constructors
DayModel(DateOnly, Brush, IEnumerable<EntryModel>, ICommand, bool)
public DayModel(DateOnly date, Brush background, IEnumerable<EntryModel> events, ICommand createNewEntry, bool canCreateNewEntry)
Parameters
dateDateOnlybackgroundBrusheventsIEnumerable<EntryModel>createNewEntryICommandcanCreateNewEntrybool
Properties
BackgroundColour
public Brush BackgroundColour { get; }
Property Value
CanCreateNewEntry
public bool CanCreateNewEntry { get; }
Property Value
CreateNewEntry
public ICommand CreateNewEntry { get; }
Property Value
Date
public DateOnly Date { get; }
Property Value
Day
public string Day { get; }
Property Value
Entries
public IEnumerable<EntryModel> Entries { get; }