Redigera

Dela via


DataPagerFieldCommandEventArgs Constructor

Definition

Initializes a new instance of the DataPagerFieldCommandEventArgs class.

public:
 DataPagerFieldCommandEventArgs(System::Web::UI::WebControls::DataPagerFieldItem ^ item, System::Object ^ commandSource, System::Web::UI::WebControls::CommandEventArgs ^ originalArgs);
public DataPagerFieldCommandEventArgs (System.Web.UI.WebControls.DataPagerFieldItem item, object commandSource, System.Web.UI.WebControls.CommandEventArgs originalArgs);
new System.Web.UI.WebControls.DataPagerFieldCommandEventArgs : System.Web.UI.WebControls.DataPagerFieldItem * obj * System.Web.UI.WebControls.CommandEventArgs -> System.Web.UI.WebControls.DataPagerFieldCommandEventArgs
Public Sub New (item As DataPagerFieldItem, commandSource As Object, originalArgs As CommandEventArgs)

Parameters

item
DataPagerFieldItem

A DataPagerFieldItem object that generated the event.

commandSource
Object

The source of the event.

originalArgs
CommandEventArgs

The original event data that contains the CommandName and CommandArgument properties.

Remarks

Use this constructor to initialize a new instance of the DataPagerFieldCommandEventArgs 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 PagePropertiesChangingEventArgs class.

Property Initial value
Item The value of the item parameter.
CommandSource The value of the commandSource parameter.

Applies to

See also