DataGridViewCell.IsInEditMode DataGridViewCell.IsInEditMode DataGridViewCell.IsInEditMode DataGridViewCell.IsInEditMode Property

Definition

Gets a value indicating whether this cell is currently being edited.

public:
 property bool IsInEditMode { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsInEditMode { get; }
member this.IsInEditMode : bool
Public ReadOnly Property IsInEditMode As Boolean

Property Value

true if the cell is in edit mode; otherwise, false.

Exceptions

Remarks

This property is useful when you are working directly with cell instances. Alternatively, you can use the DataGridView.IsCurrentCellInEditMode property. You can also handle the DataGridView.CellBeginEdit event to determine when the user enters edit mode.

Applies to

See also