Table of Contents

Class CalendarModel

Namespace
The.WPF.Screens.Calendar
Assembly
Instagile.WPF.dll
public class CalendarModel : ScreenModelBase, IScreenModel, IModel, INotifyPropertyChanged
Inheritance
CalendarModel
Implements
Inherited Members
Extension Methods

Constructors

CalendarModel(ISurface, ICommand, ICommand, ICommand, ICommand, ICommand)

public CalendarModel(ISurface surface, ICommand previousMonth, ICommand nextMonth, ICommand previousWeek, ICommand nextWeek, ICommand todayCommand)

Parameters

surface ISurface
previousMonth ICommand
nextMonth ICommand
previousWeek ICommand
nextWeek ICommand
todayCommand ICommand

Properties

DateRange

public (DateOnly startDate, DateOnly endDate) DateRange { get; set; }

Property Value

(DateOnly startDate, DateOnly endDate)

Dates

public string Dates { get; }

Property Value

string

NextMonth

public ICommand NextMonth { get; }

Property Value

ICommand

NextWeek

public ICommand NextWeek { get; }

Property Value

ICommand

PreviousMonth

public ICommand PreviousMonth { get; }

Property Value

ICommand

PreviousWeek

public ICommand PreviousWeek { get; }

Property Value

ICommand

Refresh

public ICommand Refresh { get; }

Property Value

ICommand

SelectedMonth

public MonthModel SelectedMonth { get; set; }

Property Value

MonthModel

Today

public ICommand Today { get; }

Property Value

ICommand