DataPagerFieldCommandEventArgs 类
定义
为 Command 事件提供数据。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
- 继承
注解
Command当 Button ImageButton LinkButton 单击对象中的、或控件按钮时,将引发事件 DataPagerField 。The Command event is raised when a Button, ImageButton, or LinkButton control button in a DataPagerField object is clicked.
DataPagerFieldCommandEventArgs类由在内部使用 DataPager.OnBubbleEvent ,并且方法用于 TemplatePagerField.HandleEvent 访问有关所引发的事件的信息。The DataPagerFieldCommandEventArgs class is used internally by the DataPager.OnBubbleEvent and the TemplatePagerField.HandleEvent methods to access information about the event that was raised.
有关 DataPagerFieldCommandEventArgs 类的实例的初始属性值列表,请参见 DataPagerFieldCommandEventArgs 构造函数。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.
构造函数
| DataPagerFieldCommandEventArgs(DataPagerFieldItem, Object, CommandEventArgs) |
初始化 DataPagerFieldCommandEventArgs 类的新实例。Initializes a new instance of the DataPagerFieldCommandEventArgs class. |
属性
| CommandArgument |
获取命令的参数。Gets the argument for the command. (继承自 CommandEventArgs) |
| CommandName |
获取命令的名称。Gets the name of the command. (继承自 CommandEventArgs) |
| CommandSource |
获取引发事件的控件。Gets the control that raised the event. |
| Item |
获取 DataPagerFieldItem 对象,该对象包含引发事件的控件。Gets the DataPagerFieldItem object that contains the control that raised the event. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |