Skip to content

Parameters

Christophe Peugnet edited this page Mar 25, 2022 · 6 revisions

CalendarContainer parameters

TasksList : (List<BlazorCalendar.Models.Tasks>) nullable

public class Tasks
{
    public int ID { get; set; }
    public DateTime DateStart { get; set; }
    public DateTime DateEnd { get; set; }
    public string Code { get; set; }
    public string Caption { get; set; }
    public string Color { get; set; }
    public string ForeColor { get; set; }
    public string Comment { get; set; }
    public bool NotBeDraggable { get; set; }
}
Property Description
ID unique ID
Code user coding
Caption longer text
Color backgroundcolor in Hexa format
ForeColor font color in Hexa format
Comment comment that will appear in the tooltip
NotBeDraggable the task cannot be moved

FirstDate : (DateTime) First column

DisplayedView : (DisplayedView) view selector switch

public enum DisplayedView
{
    Annual = 0,
    Monthly = 1
}

Common view parameters

Style : (string) User styles, applied on top of the component's own classes and styles.

Class : (string) User class names, separated by space.

WeekDaysColor : (string) default :"#FFF" background color of empty days

SaturdayColor : (string) default :"#ECF4FD" Saturday background color

SundayColor : (string) default :"#DBE7F8" Sunday background color

HeaderStyle : (string) User styles of column headers, applied on top of the component's own styles.

AnnualView parameters

Months : (int) Number of column

Clone this wiki locally