Прочитај на енглеском Уреди

Делите путем


GridViewSelectEventArgs(Int32) Constructor

Definition

Initializes a new instance of the GridViewSelectEventArgs class.

C#
public GridViewSelectEventArgs(int newSelectedIndex);

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.

Напомена

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

Applies to

Производ Верзије
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also