//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; /// /// Provides data for /// the /// event. /// public class GridViewSelectEventArgs : CancelEventArgs { private int _newSelectedIndex; /// /// Initializes a new instance of the class. /// public GridViewSelectEventArgs(int newSelectedIndex) { this._newSelectedIndex = newSelectedIndex; } /// /// Gets the index of the selected row to be displayed in the . /// This property is read-only. /// public int NewSelectedIndex { get { return _newSelectedIndex; } set { _newSelectedIndex = value; } } } }