IDataGridViewEditingControl.EditingControlValueChanged Property
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.
Gets or sets a value indicating whether the value of the editing control differs from the value of the hosting cell.
public:
property bool EditingControlValueChanged { bool get(); void set(bool value); };
public bool EditingControlValueChanged { get; set; }
member this.EditingControlValueChanged : bool with get, set
Public Property EditingControlValueChanged As Boolean
Property Value
true
if the value of the control differs from the cell value; otherwise, false
.
Remarks
The EditingControlValueChanged property is set to true
to indicate that the hosting cell's state has changed and its user interface (UI) needs to be updated to reflect this change in value. The owning cell or table will reset this property to false
after an update.
Notes to Implementers
Returning true
in your implementation of this property does not automatically change the displayed value. When the value changes in the editing control, you must notify the DataGridView of the change by passing true
to the NotifyCurrentCellDirty(Boolean) method.