API Reference
FullCalendarEvent
Represents an event in the FullCalendar library.
Inheritance
- Object
- FullCalendarEvent
Constructors
public FullCalendarEvent(String title, DateTime start) #Initializes a new instance of the FullCalendarEvent class with the specified title and start date.
Parameters
- title System.String
- The title of the event.
- start System.DateTime
- The start date of the event.
public FullCalendarEvent(String title, String description, DateTime start, Nullable<DateTime> end = null) #Initializes a new instance of the FullCalendarEvent class with the specified title, description, start date, and end date.
Parameters
- title System.String
- The title of the event.
- description System.String
- The description of the event.
- start System.DateTime
- The start date of the event.
- end System.Nullable{System.DateTime} = null
- The end date of the event. If null, the event is considered to last one day.
Methods
public FullCalendarEvent AllDay(Boolean value) #FullCalendarEventSets whether the event spans the entire day.
Parameters
- value System.Boolean
- True when the event is all day.
Returns
The current event instance.
public FullCalendarEvent BackgroundColor(RGBColor value) #FullCalendarEventSets the background color of the event.
Parameters
- value HtmlForgeX.RGBColor
- Background color.
Returns
The current event instance.
public FullCalendarEvent BorderColor(RGBColor value) #FullCalendarEventSets the border color of the event.
Parameters
- value HtmlForgeX.RGBColor
- Border color.
Returns
The current event instance.
public FullCalendarEvent Color(RGBColor value) #FullCalendarEventSets the primary color for the event.
Parameters
- value HtmlForgeX.RGBColor
- The color.
Returns
The current event instance.
public FullCalendarEvent Description(String value) #FullCalendarEventUpdates the event description.
Parameters
- value System.String
- Description text.
Returns
The current event instance.
public FullCalendarEvent End(Nullable<DateTime> value) #FullCalendarEventSets the end date for the event.
Parameters
- value System.Nullable{System.DateTime}
- End time.
Returns
The current event instance.
public FullCalendarEvent Interactive(Boolean value) #FullCalendarEventSpecifies whether the event is interactive.
Parameters
- value System.Boolean
- True when interactive.
Returns
The current event instance.
public FullCalendarEvent Start(DateTime value) #FullCalendarEventSets the start date for the event.
Parameters
- value System.DateTime
- Start time.
Returns
The current event instance.
public FullCalendarEvent TextColor(RGBColor value) #FullCalendarEventSets the text color of the event.
Parameters
- value HtmlForgeX.RGBColor
- Text color.
Returns
The current event instance.
public FullCalendarEvent Title(String value) #FullCalendarEventChanges the title of the event.
Parameters
- value System.String
- New title.
Returns
The current event instance.
public FullCalendarEvent Url(String value) #FullCalendarEventSets the URL associated with the event.
Parameters
- value System.String
- URL value.
Returns
The current event instance.
Inherited Methods
Properties
public String TitleValue { get; set; } #JsonPropertyName("title")Gets or sets the title of the event.
public String UrlValue { get; set; } #JsonIgnore(Condition = 3) JsonPropertyName("url")Gets or sets the URL of the event.
public String DescriptionValue { get; set; } #JsonIgnore(Condition = 3) JsonPropertyName("description")Gets or sets the description of the event.
public DateTime StartValue { get; set; } #JsonPropertyName("start")Gets or sets the start date of the event.
public Nullable<DateTime> EndValue { get; set; } #JsonIgnore(Condition = 3) JsonPropertyName("end")Gets or sets the end date of the event.
public Nullable<Boolean> AllDayValue { get; set; } #JsonIgnore(Condition = 3) JsonPropertyName("allDay")Gets or sets a value indicating whether the event lasts all day.
public Nullable<Boolean> InteractiveValue { get; set; } #JsonIgnore(Condition = 3) JsonPropertyName("interactive")Gets or sets a value indicating whether the event is interactive.
public RGBColor ColorValue { get; set; } #JsonConverter(typeof(RGBColorConverter)) JsonIgnore(Condition = 3) JsonPropertyName("color")Gets or sets the color of the event.
public RGBColor BackgroundColorValue { get; set; } #JsonConverter(typeof(RGBColorConverter)) JsonIgnore(Condition = 3) JsonPropertyName("backgroundColor")Gets or sets the background color of the event.
public RGBColor BorderColorValue { get; set; } #JsonConverter(typeof(RGBColorConverter)) JsonIgnore(Condition = 3) JsonPropertyName("borderColor")Gets or sets the border color of the event.
public RGBColor TextColorValue { get; set; } #JsonConverter(typeof(RGBColorConverter)) JsonIgnore(Condition = 3) JsonPropertyName("textColor")Gets or sets the text color of the event.