Class Calendars
Calendars renderable
Inherited Members
Namespace: Terminaux.Writer.CyclicWriters.Graphical
Assembly: Terminaux.dll
Syntax
public class Calendars : GraphicalCyclicWriter
Constructors
| Edit this page View SourceCalendars()
Makes a new instance of the calendar renderer
Declaration
public Calendars()
Properties
| Edit this page View SourceBackgroundColor
Background color
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BorderSettings
Border settings to use
Declaration
public BorderSettings BorderSettings { get; set; }
Property Value
Type | Description |
---|---|
BorderSettings |
Calendar
Calendar instance that is obtained from a culture
Declaration
public Calendar Calendar { get; }
Property Value
Type | Description |
---|---|
Calendar |
Culture
Culture info that the calendar uses
Declaration
public CultureInfo Culture { get; set; }
Property Value
Type | Description |
---|---|
CultureInfo |
ForegroundColor
Foreground color
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
HeaderColor
Calendar header color
Declaration
public Color HeaderColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Height
Full calendar height (constant)
Declaration
public override int Height { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
| Edit this page View SourceHighlightToday
Whether to highlight the current day or to highlight a specified day
Declaration
public bool HighlightToday { get; set; }
Property Value
Type | Description |
---|---|
bool |
HighlightedDay
Highlight a specified day
Declaration
public DateTime HighlightedDay { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Month
Month of the calendar
Declaration
public int Month { get; set; }
Property Value
Type | Description |
---|---|
int |
TodayColor
Current day color
Declaration
public Color TodayColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
UseColors
Whether to use colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
WeekendColor
Calendar day weekend indicator color
Declaration
public Color WeekendColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Width
Full calendar width (constant)
Declaration
public override int Width { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
| Edit this page View SourceYear
Year of the calendar
Declaration
public int Year { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceRender()
Renders a calendar
Declaration
public override string Render()
Returns
Type | Description |
---|---|
string | Rendered calendar that will be used by the renderer |