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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기