40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
|
//------------------------------------------------------------------------------
|
||
|
// <copyright file="GridViewCancelEditEventArgs.cs" company="Microsoft">
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
// </copyright>
|
||
|
//------------------------------------------------------------------------------
|
||
|
|
||
|
/*
|
||
|
*/
|
||
|
|
||
|
namespace System.Web.UI.WebControls {
|
||
|
|
||
|
using System;
|
||
|
using System.ComponentModel;
|
||
|
|
||
|
/// <devdoc>
|
||
|
/// <para>Provides data for some <see cref='System.Web.UI.WebControls.GridView'/> events.</para>
|
||
|
/// </devdoc>
|
||
|
public class GridViewCancelEditEventArgs : CancelEventArgs {
|
||
|
|
||
|
private int _rowIndex;
|
||
|
|
||
|
|
||
|
/// <devdoc>
|
||
|
/// <para>Initializes a new instance of the <see cref='System.Web.UI.WebControls.GridViewCancelEditEventArgs'/>
|
||
|
/// class.</para>
|
||
|
/// </devdoc>
|
||
|
public GridViewCancelEditEventArgs(int rowIndex) {
|
||
|
this._rowIndex = rowIndex;
|
||
|
}
|
||
|
|
||
|
|
||
|
public int RowIndex {
|
||
|
get {
|
||
|
return _rowIndex;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|