Version

OriginalValue Property

Returns the original value of the cell. This property is read-only at run-time. This property is not available at design-time.
Syntax
'Declaration
 
Public ReadOnly Property OriginalValue As Object
public object OriginalValue {get;}
Remarks

OriginalValue returns the cell's original value before it was last set. NOTE: While in edit mode, Value property returns the value in the binding list and not the current value in the editor control being used for editing the cell. For example, if the user enters edit mode on a cell with the value of 1 and changes the value to 2, Value property will still retrun 1. To get to the modified value use the underlying editor's value property. OriginalValue property returns the value of the cell before it's value was set last time.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also