ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 754
نمايش فراداده

DayRenderEventArgs

System.Web.UI.WebControls (system.web.dll)sealed class

This object is provided to the DayRenderEventHandler. It identifies the CalendarDay that is about to be added and the TableCell that contains the date by means of the Day and Cell properties. The Calendar.DayRender event is fired for every currently displayed day. This includes days from the preceding and following month, which are used to fill out the first and last week on the calendar.

public sealed class 

DayRenderEventArgs { // Public Constructors public

DayRenderEventArgs (TableCell

cell , CalendarDay

day ); // Public Instance Properties public TableCell

Cell {get; } public CalendarDay

Day {get; } }

Passed To

DayRenderEventHandler.{BeginInvoke( ), Invoke( )}