DataPagerCommandEventArgs Constructor
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 DataPagerCommandEventArgs class.
public:
DataPagerCommandEventArgs(System::Web::UI::WebControls::DataPagerField ^ pagerField, int totalRowCount, System::Web::UI::WebControls::CommandEventArgs ^ originalArgs, System::Web::UI::WebControls::DataPagerFieldItem ^ item);
public DataPagerCommandEventArgs (System.Web.UI.WebControls.DataPagerField pagerField, int totalRowCount, System.Web.UI.WebControls.CommandEventArgs originalArgs, System.Web.UI.WebControls.DataPagerFieldItem item);
new System.Web.UI.WebControls.DataPagerCommandEventArgs : System.Web.UI.WebControls.DataPagerField * int * System.Web.UI.WebControls.CommandEventArgs * System.Web.UI.WebControls.DataPagerFieldItem -> System.Web.UI.WebControls.DataPagerCommandEventArgs
Public Sub New (pagerField As DataPagerField, totalRowCount As Integer, originalArgs As CommandEventArgs, item As DataPagerFieldItem)
Parameters
- pagerField
- DataPagerField
The object that contains the command button that was clicked.
- totalRowCount
- Int32
The total number of records.
- originalArgs
- CommandEventArgs
The command name and command argument of the button that was clicked.
- item
- DataPagerFieldItem
The object that contains the DataPagerField object and its container DataPager object.
Remarks
You can use this constructor to initialize a new instance of the DataPagerCommandEventArgs class.
Note
This constructor is primarily used by control developers when raising events.
The following table shows initial property values for an instance of the DataPagerCommandEventArgs class
Property | Initial Value |
---|---|
PagerField | The value of the pagerField parameter. |
TotalRowCount | The value of the totalRowCount parameter. |
Item | The value of the item parameter. |
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈