e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
47 lines
1.3 KiB
C#
47 lines
1.3 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="GridViewEditEventArgs.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 GridViewEditEventArgs : CancelEventArgs {
|
|
|
|
private int _newEditIndex;
|
|
|
|
|
|
/// <devdoc>
|
|
/// <para>Initializes a new instance of the <see cref='System.Web.UI.WebControls.GridViewEditEventArgs'/>
|
|
/// class.</para>
|
|
/// </devdoc>
|
|
public GridViewEditEventArgs(int newEditIndex) {
|
|
this._newEditIndex = newEditIndex;
|
|
}
|
|
|
|
|
|
|
|
/// <devdoc>
|
|
/// <para>Gets the index of the row to be edited. This property is read-only.</para>
|
|
/// </devdoc>
|
|
public int NewEditIndex {
|
|
get {
|
|
return _newEditIndex;
|
|
}
|
|
set {
|
|
_newEditIndex = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|