Upraviť

Zdieľať cez


DataPagerFieldCommandEventArgs Class

Definition

Provides data for the Command event.

public ref class DataPagerFieldCommandEventArgs : System::Web::UI::WebControls::CommandEventArgs
public class DataPagerFieldCommandEventArgs : System.Web.UI.WebControls.CommandEventArgs
type DataPagerFieldCommandEventArgs = class
    inherit CommandEventArgs
Public Class DataPagerFieldCommandEventArgs
Inherits CommandEventArgs
Inheritance
DataPagerFieldCommandEventArgs

Remarks

The Command event is raised when a Button, ImageButton, or LinkButton control button in a DataPagerField object is clicked.

The DataPagerFieldCommandEventArgs class is used internally by the DataPager.OnBubbleEvent and the TemplatePagerField.HandleEvent methods to access information about the event that was raised.

For a list of initial property values for an instance of the DataPagerFieldCommandEventArgs class, see the DataPagerFieldCommandEventArgs constructor.

For more information about how to handle events, see Handling and Raising Events.

Constructors

DataPagerFieldCommandEventArgs(DataPagerFieldItem, Object, CommandEventArgs)

Initializes a new instance of the DataPagerFieldCommandEventArgs class.

Properties

CommandArgument

Gets the argument for the command.

(Inherited from CommandEventArgs)
CommandName

Gets the name of the command.

(Inherited from CommandEventArgs)
CommandSource

Gets the control that raised the event.

Item

Gets the DataPagerFieldItem object that contains the control that raised the event.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also