Class Calendars
Calendars renderable
Inheritance
object
Calendars
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class Calendars : IStaticRenderable
Constructors
| Edit this page View SourceCalendars()
Makes a new instance of the calendars 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 |
CellOptions
Specifies the cell options to highlight days
Declaration
public List<CellOptions> CellOptions { get; set; }
Property Value
Type | Description |
---|---|
List<CellOptions> |
Culture
Culture info that the calendar uses
Declaration
public CultureInfo Culture { get; set; }
Property Value
Type | Description |
---|---|
CultureInfo |
HeaderColor
Table header color
Declaration
public Color HeaderColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
InteriorHeight
Interior height
Declaration
public int InteriorHeight { get; set; }
Property Value
Type | Description |
---|---|
int |
InteriorWidth
Interior width
Declaration
public int InteriorWidth { get; set; }
Property Value
Type | Description |
---|---|
int |
Left
Left position
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
int |
Month
Month of the calendar
Declaration
public int Month { get; set; }
Property Value
Type | Description |
---|---|
int |
SeparatorColor
Table separator color
Declaration
public Color SeparatorColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Top
Top position
Declaration
public int Top { get; set; }
Property Value
Type | Description |
---|---|
int |
UseColors
Whether to use colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
ValueColor
Table value color
Declaration
public Color ValueColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Year
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 string Render()
Returns
Type | Description |
---|---|
string | Rendered calendar that will be used by the renderer |