CalendarEvent(int, int, int, Style) Constructor

Initializes a new instance of the CalendarEvent class.
public CalendarEvent(int year, int month, int day, Style customHighlightStyle = null)
Namespace
Spectre.Console
Containing Type
CalendarEvent

Parameters

int year
The year of the calendar event.
int month
The month of the calendar event.
int day
The day of the calendar event.
Style customHighlightStyle
The custom highlight style of the calendar event.