Partager via


UndoState Enum

Definition

UndoState enumeration describes state of Undo in the Undo Manager

public enum class UndoState
public enum UndoState
type UndoState = 
Public Enum UndoState
Inheritance
UndoState

Fields

Name Value Description
Enabled 0

Undo is enabled

Disabled 1

Undo is enabled

DisabledNoFlush 2

UNDONE: mattcur: Use this value at your own peril. Disabling the undo stack without flushing it is extremely dangerous and can leave the internal model inconsistent. However, there is no real alternative for keeping files from dirtying in response to changes that affect the UI and internal state but not the document files. DisabledNoFlush will be marked as obsolete as soon as possible.

Applies to