Click or drag to resize

IMcUndoStackDisabled Property

Read-write property, allows the freezing of Push, Undo or Redo operations the undo-redo manager.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Property Disabled As Boolean
	Get
	Set

Property Value

Type: Boolean
Remarks
Flush still works even if Disabled is True.
Note Note
Setting MaxSize to zero will also effectively disable all undo support, but it will result in the undo stack being emptied immediately. If you set the Disabled property True, then calls to Push, Undo and Redo will do nothing but they will leave the current stack contents unchanged. You might want to do this if you have done your own Push for some operation but then are calling other methods as part of that operation that do their own Push(es).
See Also