Redigera

Dela via


IDataGridEditingService.EndEdit(DataGridColumnStyle, Int32, Boolean) Method

Definition

Ends the edit operation.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 bool EndEdit(System::Windows::Forms::DataGridColumnStyle ^ gridColumn, int rowNumber, bool shouldAbort);
public bool EndEdit (System.Windows.Forms.DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort);
abstract member EndEdit : System.Windows.Forms.DataGridColumnStyle * int * bool -> bool
Public Function EndEdit (gridColumn As DataGridColumnStyle, rowNumber As Integer, shouldAbort As Boolean) As Boolean

Parameters

gridColumn
DataGridColumnStyle

The DataGridColumnStyle to edit.

rowNumber
Int32

The number of the row to edit.

shouldAbort
Boolean

True if an abort operation is requested.

Returns

true if value is committed; otherwise false.

Remarks

If the value cannot be committed, the DataGridColumnStyle remains editable.

Applies to