GridViewCancelEditEventArgs(Int32) Constructor

Definition

Initializes a new instance of the GridViewCancelEditEventArgs class.

C#
public GridViewCancelEditEventArgs(int rowIndex);

Parameters

rowIndex
Int32

The index of the row containing the Cancel button that raised the event.

Remarks

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

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

Property Initial value
RowIndex The value of the rowIndex parameter.

Poznámka

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

Applies to

Produkt Verzie
.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