System.Windows.Forms.DataGridTableStyle.BeginEdit Method

Requests an edit operation.

Syntax

public bool BeginEdit (DataGridColumnStyle gridColumn, int rowNumber)

Parameters

gridColumn
The System.Windows.Forms.DataGridColumnStyle to edit.
rowNumber
The number of the edited row.

Returns

true, if the operation succeeds; otherwise, false.

Remarks

The DataGridTableStyle.BeginEdit(DataGridColumnStyle, int) method is intended to notify the System.Windows.Forms.DataGrid control when the user has begun an editing operation. When the control is in edit mode, multiple edits can be made and the constraints will be temporarily unenforced.

Call the DataGridTableStyle.EndEdit(DataGridColumnStyle, int, bool) method to quit the edit mode.

Requirements

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