バージョン 20.1

CurrentHistoryItem プロパティ

実行している UndoHistory または RedoHistoryUndoHistoryItem を返します。元に戻す / やり直し操作が実行していない場合、null を返します。
シンタックス
public UndoHistoryItem CurrentHistoryItem {get;}
参照