DayRenderEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DayRenderEventArgs class.
Overloads
DayRenderEventArgs(TableCell, CalendarDay) |
Initializes a new instance of the DayRenderEventArgs class using the specified cell and calendar day. |
DayRenderEventArgs(TableCell, CalendarDay, String) |
Initializes a new instance of the DayRenderEventArgs class using the specified cell, calendar day, and selection URL. |
DayRenderEventArgs(TableCell, CalendarDay)
Initializes a new instance of the DayRenderEventArgs class using the specified cell and calendar day.
public:
DayRenderEventArgs(System::Web::UI::WebControls::TableCell ^ cell, System::Web::UI::WebControls::CalendarDay ^ day);
public DayRenderEventArgs (System.Web.UI.WebControls.TableCell cell, System.Web.UI.WebControls.CalendarDay day);
new System.Web.UI.WebControls.DayRenderEventArgs : System.Web.UI.WebControls.TableCell * System.Web.UI.WebControls.CalendarDay -> System.Web.UI.WebControls.DayRenderEventArgs
Public Sub New (cell As TableCell, day As CalendarDay)
Parameters
- day
- CalendarDay
A CalendarDay that represents the day to render in the Calendar.
Remarks
Use this constructor to create and initialize a new instance of the DayRenderEventArgs class.
When an instance of DayRenderEventArgs is created by a call to this constructor, the properties shown in the following table are initialized to the specified values.
Property | Initial value |
---|---|
Cell | The value of the cell parameter. |
Day | The value of the day parameter. |
Note
This constructor is used primarily by control developers.
See also
Applies to
DayRenderEventArgs(TableCell, CalendarDay, String)
Initializes a new instance of the DayRenderEventArgs class using the specified cell, calendar day, and selection URL.
public:
DayRenderEventArgs(System::Web::UI::WebControls::TableCell ^ cell, System::Web::UI::WebControls::CalendarDay ^ day, System::String ^ selectUrl);
public DayRenderEventArgs (System.Web.UI.WebControls.TableCell cell, System.Web.UI.WebControls.CalendarDay day, string selectUrl);
new System.Web.UI.WebControls.DayRenderEventArgs : System.Web.UI.WebControls.TableCell * System.Web.UI.WebControls.CalendarDay * string -> System.Web.UI.WebControls.DayRenderEventArgs
Public Sub New (cell As TableCell, day As CalendarDay, selectUrl As String)
Parameters
- day
- CalendarDay
A CalendarDay that represents the day to render in the Calendar.
- selectUrl
- String
The script used to post the page back to the server when the user selects the date being rendered.
Remarks
Use this constructor to create and initialize a new instance of the DayRenderEventArgs class.
When an instance of DayRenderEventArgs is created by a call to this constructor, the properties shown in the following table are initialized to the specified values.
Property | Initial value |
---|---|
Cell | The value of the cell parameter. |
Day | The value of the day parameter. |
SelectUrl | The value of the selectUrl parameter. |
Note
This constructor is used primarily by control developers.
See also
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應