Επεξεργασία

Κοινή χρήση μέσω


DataPagerCommandEventArgs Constructor

Definition

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