C# 클래스 newtelligence.DasBlog.Web.Core.WeblogCalendar

WeblogCalendar is derived from the ASP.NET Calendar control. We need to do this, because we want to modify its style through our templates. Second reason is that only a day that has weblogs entries should be a link. The last reason is that we don't want "hard coded" style, which the base class Calendar does. For example, the color for the NextPrev links is hard coded to 'Black'; unless you explicitely change the ForeColor property ;-)
상속: System.Web.UI.WebControls.Calendar
파일 보기 프로젝트 열기: AArnott/dasblog

공개 메소드들

메소드 설명
WeblogCalendar ( ) : System

The WeblogCalendar's constructor sets the CssClass properties. These styles are provided through the theme templates.

보호된 메소드들

메소드 설명
Render ( System.Web.UI.HtmlTextWriter writer ) : void

Override the Render method of the base class, because we don't want "hard coded" style.

비공개 메소드들

메소드 설명
DayRenderHandler ( Object source, System.Web.UI.WebControls.DayRenderEventArgs e ) : void
WeblogCalendar_Load ( object sender, EventArgs e ) : void

메소드 상세

Render() 보호된 메소드

Override the Render method of the base class, because we don't want "hard coded" style.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter System.Web.UI.HtmlTextWriter
리턴 void

WeblogCalendar() 공개 메소드

The WeblogCalendar's constructor sets the CssClass properties. These styles are provided through the theme templates.
public WeblogCalendar ( ) : System
리턴 System