GridViewSelectEventArgs(Int32) Construtor

Definição

Inicializa uma nova instância da GridViewSelectEventArgs classe.

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)

Parâmetros

newSelectedIndex
Int32

O índice da nova linha a selecionar no GridView controlo.

Observações

Use este construtor para inicializar uma nova instância da GridViewSelectEventArgs classe.

A tabela seguinte mostra o valor inicial da propriedade para uma instância de GridViewSelectEventArgs.

Property Valor inicial
NewSelectedIndex O valor do newSelectedIndex parâmetro.

Note

Este construtor é usado principalmente pelos desenvolvedores de controlo ao criar eventos.

Aplica-se a

Ver também