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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈