Table of Contents

Class DayModel

Namespace
The.WPF.Screens.Calendar
Assembly
Instagile.WPF.dll
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

date DateOnly
background Brush
events IEnumerable<EntryModel>
createNewEntry ICommand
canCreateNewEntry bool

Properties

BackgroundColour

public Brush BackgroundColour { get; }

Property Value

Brush

CanCreateNewEntry

public bool CanCreateNewEntry { get; }

Property Value

bool

CreateNewEntry

public ICommand CreateNewEntry { get; }

Property Value

ICommand

Date

public DateOnly Date { get; }

Property Value

DateOnly

Day

public string Day { get; }

Property Value

string

Entries

public IEnumerable<EntryModel> Entries { get; }

Property Value

IEnumerable<EntryModel>