ModelBaseTryUndo Method

Tries to perform one undo step.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
public bool TryUndo()

Return Value

Boolean
, if one step is successfully undone; otherwise, . The result can be if CanUndo was or when the stored steps are inconsistent with the current property values.

Implements

ICanUndoTryUndo

See Also