DataGridCommandEventArgs(DataGridItem, Object, CommandEventArgs) 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 DataGridCommandEventArgs class.
public:
DataGridCommandEventArgs(System::Web::UI::WebControls::DataGridItem ^ item, System::Object ^ commandSource, System::Web::UI::WebControls::CommandEventArgs ^ originalArgs);
public DataGridCommandEventArgs (System.Web.UI.WebControls.DataGridItem item, object commandSource, System.Web.UI.WebControls.CommandEventArgs originalArgs);
new System.Web.UI.WebControls.DataGridCommandEventArgs : System.Web.UI.WebControls.DataGridItem * obj * System.Web.UI.WebControls.CommandEventArgs -> System.Web.UI.WebControls.DataGridCommandEventArgs
Public Sub New (item As DataGridItem, commandSource As Object, originalArgs As CommandEventArgs)
Parameters
- item
- DataGridItem
A DataGridItem that represents the selected item in the DataGrid.
- commandSource
- Object
The source of the command.
- originalArgs
- CommandEventArgs
A CommandEventArgs that contains the event data.
Remarks
Use this constructor to create and initialize a new instance of the DataGridCommandEventArgs class.
When an instance of DataGridCommandEventArgs is created by a call to this constructor, the following properties are initialized to the specified values.
Property | Initial value |
---|---|
CommandSource | The value of the commandSource parameter. |
Item | The value of the item parameter. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈