You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
46
external/referencesource/System.Web/UI/WebControls/GridViewEditEventArgs.cs
vendored
Normal file
46
external/referencesource/System.Web/UI/WebControls/GridViewEditEventArgs.cs
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user