Class DayTemplateContainer
Template for a rendering information about a single day
Inheritance
System.Object
    DayTemplateContainer
  Implements
System.Web.UI.INamingContainer
  Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public class DayTemplateContainer : Control, INamingContainerConstructors
DayTemplateContainer(DateTime)
Initializes a new instance of DayTemplateContainer
Declaration
public DayTemplateContainer(DateTime date)Parameters
| Type | Name | Description | 
|---|---|---|
| System.DateTime | date | 
DayTemplateContainer(DateTime, LocalizationService)
Initializes a new instance of the DayTemplateContainer class.
Declaration
public DayTemplateContainer(DateTime date, LocalizationService localizationService)Parameters
| Type | Name | Description | 
|---|---|---|
| System.DateTime | date | The date. | 
| LocalizationService | localizationService | The resource locator. | 
Properties
Date
Current date.
Declaration
public DateTime Date { get; set; }Property Value
| Type | Description | 
|---|---|
| System.DateTime | 
DayName
String representation of current week day name.
Declaration
public string DayName { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
DayOfMonth
Current day in month.
Declaration
public int DayOfMonth { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | Any number from 1 to 31 | 
MonthName
String representation of current month name.
Declaration
public string MonthName { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
ShortDate
Short string representation of current date.
Declaration
public string ShortDate { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Implements
      System.Web.UI.INamingContainer
  
  