Calendar

A renderable calendar.

A renderable calendar.

Constructors

public Calendar(DateTime date)

Initializes a new instance of the Calendar class.

Parameters:

date (DateTime)
The calendar date.
public Calendar(int year, int month)

Initializes a new instance of the Calendar class.

Parameters:

year (int)
The calendar year.
month (int)
The calendar month.
public Calendar(int year, int month, int day)

Initializes a new instance of the Calendar class.

Parameters:

year (int)
The calendar year.
month (int)
The calendar month.
day (int)
The calendar day.

Properties

Border : TableBorder

Gets or sets the border.

CalendarEvents : IList<CalendarEvent>

Gets a list containing all calendar events.

Culture : CultureInfo

Gets or sets the calendar's CultureInfo.

Day : int

Gets or sets the calendar day.

Month : int

Gets or sets the calendar month.

ShowHeader : bool

Gets or sets a value indicating whether or not the calendar header should be shown.

UseSafeBorder : bool

Gets or sets a value indicating whether or not to use a "safe" border on legacy consoles that might not be able to render non-ASCII characters.

Year : int

Gets or sets the calendar year.