IDataGridEditingService.EndEdit(DataGridColumnStyle, Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.