System.Windows.Forms.DataGridTableStyle.EndEdit Method

Requests an end to an edit operation.

Syntax

public bool EndEdit (DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort)

Parameters

gridColumn
The System.Windows.Forms.DataGridColumnStyle to edit.
rowNumber
The number of the edited row.
shouldAbort
A value indicating whether the operation should be stopped; true if it should stop; otherwise, false.

Returns

true if the edit operation ends successfully; otherwise, false.

Remarks

Similar to the DataGridTableStyle.BeginEdit(DataGridColumnStyle, int) method, the DataGridTableStyle.EndEdit(DataGridColumnStyle, int, bool) method is intended to notify the System.Windows.Forms.DataGrid when an edit operation is ending.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0