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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기