C# Class EnterpriseWebLibrary.EnterpriseWebFramework.Controls.MonthViewCalendar

Provides an easy way to build a calendar where data is viewed one month at a time.
Inheritance: System.Web.UI.WebControls.WebControl, ControlTreeDataLoader
Afficher le fichier Open project: enduracode/enterprise-web-library Class Usage Examples

Private Properties

Свойство Type Description
ControlTreeDataLoader void
adjustDateByNumberOfIntervals System.DateTime
buildNavigationBox void
formatDateTimeForJumpList string

Méthodes publiques

Méthode Description
AddContentForDay ( System.DateTime date, Control content ) : void

Specifies the content for a particular day of the month.

MonthViewCalendar ( ) : System

Initializes defaults for MonthViewCalendar attributes.

SetParameters ( System.DateTime date, Action dateModificationMethod ) : void

This method must be called in LoadData.

SetToolTipForDay ( System.DateTime date, Control toolTipContent ) : void

Provides the ability to place a tooltip for a day.

Private Methods

Méthode Description
ControlTreeDataLoader ( ) : void
adjustDateByNumberOfIntervals ( System.DateTime date, int i ) : System.DateTime
buildNavigationBox ( ) : void
formatDateTimeForJumpList ( System.DateTime date ) : string

Method Details

AddContentForDay() public méthode

Specifies the content for a particular day of the month.
public AddContentForDay ( System.DateTime date, Control content ) : void
date System.DateTime
content System.Web.UI.Control
Résultat void

MonthViewCalendar() public méthode

Initializes defaults for MonthViewCalendar attributes.
public MonthViewCalendar ( ) : System
Résultat System

SetParameters() public méthode

This method must be called in LoadData.
public SetParameters ( System.DateTime date, Action dateModificationMethod ) : void
date System.DateTime
dateModificationMethod Action
Résultat void

SetToolTipForDay() public méthode

Provides the ability to place a tooltip for a day.
public SetToolTipForDay ( System.DateTime date, Control toolTipContent ) : void
date System.DateTime
toolTipContent System.Web.UI.Control
Résultat void