IDataGridEditingService.EndEdit Method (DataGridColumnStyle, Int32, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Ends the edit operation.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

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

Parameters

gridColumn
Type: System.Windows.Forms.DataGridColumnStyle

The DataGridColumnStyle to edit.

rowNumber
Type: System.Int32

The number of the row to edit

shouldAbort
Type: System.Boolean

True if an abort operation is requested

Return Value

Type: System.Boolean

true if value is commited; otherwise false.

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

.NET Framework
Available since 1.1
Return to top
Show: