Try our conversational search powered by Generative AI!

Class CalendarEventTemplateContainer

Template for a Calender Event.

Inheritance
System.Object
CalendarEventTemplateContainer
Implements
System.Web.UI.INamingContainer
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Web.WebControls.dll
Version: 11.20.7
Syntax
public class CalendarEventTemplateContainer : PageTemplateContainer, IPageSource, IContentSource, INamingContainer

Constructors

CalendarEventTemplateContainer(PageData, DateTime, DateTime, DateTime)

Initializes a new instance of CalendarEventTemplateContainer

Declaration
public CalendarEventTemplateContainer(PageData page, DateTime startDate, DateTime stopDate, DateTime currentDate)
Parameters
Type Name Description
PageData page
System.DateTime startDate
System.DateTime stopDate
System.DateTime currentDate

Properties

CurrentDate

Current date for the event.

Declaration
public DateTime CurrentDate { get; }
Property Value
Type Description
System.DateTime

CurrentEventStartTime

The time the current event begins.

Declaration
public DateTime CurrentEventStartTime { get; }
Property Value
Type Description
System.DateTime

CurrentEventStopTime

The time the current event ends.

Declaration
public DateTime CurrentEventStopTime { get; }
Property Value
Type Description
System.DateTime

StartDate

First date for the event.

Declaration
public string StartDate { get; set; }
Property Value
Type Description
System.String

StartTime

Start time for event.

Declaration
public string StartTime { get; set; }
Property Value
Type Description
System.String

StopDate

Stop date for the event.

Declaration
public string StopDate { get; set; }
Property Value
Type Description
System.String

StopTime

Stop time for the event.

Declaration
public string StopTime { get; set; }
Property Value
Type Description
System.String

Implements

System.Web.UI.INamingContainer

Extension Methods