Modifica

Condividi tramite


GridViewSelectEventArgs(Int32) Constructor

Definition

Initializes a new instance of the GridViewSelectEventArgs class.

public:
 GridViewSelectEventArgs(int newSelectedIndex);
public GridViewSelectEventArgs (int newSelectedIndex);
new System.Web.UI.WebControls.GridViewSelectEventArgs : int -> System.Web.UI.WebControls.GridViewSelectEventArgs
Public Sub New (newSelectedIndex As Integer)

Parameters

newSelectedIndex
Int32

The index of the new row to select in the GridView control.

Remarks

Use this constructor to initialize a new instance of the GridViewSelectEventArgs class.

The following table shows the initial property value for an instance of GridViewSelectEventArgs.

Property Initial value
NewSelectedIndex The value of the newSelectedIndex parameter.

Note

This constructor is used primarily by control developers when raising events.

Applies to

See also