Version

SetValue(Object,Boolean) Method

Sets the value of this cell, optionally storing the old value into the undo stack so the user can revert back to the old value via undo operation.
Syntax
'Declaration
 
Public Overloads Sub SetValue( _
   ByVal value As Object, _
   ByVal storeInUndoStack As Boolean _
) 
public void SetValue( 
   object value,
   bool storeInUndoStack
)

Parameters

value
The new value of the cell.
storeInUndoStack
true to store the original cell value in the undo stack so the user can undo the change.
Remarks

When storeInUndoStack parameter is false this method does the same thing as the Value property. When storeInUndoStack parameter is true, the old value is stored into the undo stack so the user can undo the change in the value of the cell. To enable undo functionality, set the Override's UltraGridOverride.AllowMultiCellOperations property.

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