Show / Hide Table of Contents

Property UndoUnitLevel

| Improve this Doc View Source

UndoUnitLevel

Gets a value indicates the undo unit level.

Declaration
public int UndoUnitLevel { get; }
Property Value
Type Description
System.Int32

The undo unit level. The default value is 0.

Remarks

Calling BeginUndoUnit() increases UndoUnitLevel by 1, and calling EndUndoUnit() decreases UndoUnitLevel by 1. When UndoUnitLevel greater than 0, all undoable operations are considered as one single reversible unit of work.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest