Version

TopUndoHistoryItem Property

Returns the next item on the top of the UndoHistory
Syntax
'Declaration
 
Public ReadOnly Property TopUndoHistoryItem As UndoHistoryItem
public UndoHistoryItem TopUndoHistoryItem {get;}
Remarks

This property returns the UndoHistoryItem at the top of the UndoHistory stack and is therefore equivalent to accessing UndoHistory[0]. The primary use case for this property is for binding such as when displaying the UndoHistoryItem.ShortDescription for the tooltip of an Undo button in the UI to avoid the exception information in the output window.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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