更新 : 2007 年 11 月
この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
取り消し単位が作成されたときに発生します。
名前空間 : Microsoft.Windows.Design.Documents
アセンブリ : Microsoft.Windows.Design.Markup (Microsoft.Windows.Design.Markup.dll 内)
構文
'宣言
Public Event UndoUnitCreated As EventHandler(Of DocumentUndoUnitCreatedEventArgs)
'使用
Dim instance As MarkupDocumentManager
Dim handler As EventHandler(Of DocumentUndoUnitCreatedEventArgs)
AddHandler instance.UndoUnitCreated, handler
public event EventHandler<DocumentUndoUnitCreatedEventArgs> UndoUnitCreated
public:
event EventHandler<DocumentUndoUnitCreatedEventArgs^>^ UndoUnitCreated {
void add (EventHandler<DocumentUndoUnitCreatedEventArgs^>^ value);
void remove (EventHandler<DocumentUndoUnitCreatedEventArgs^>^ value);
}
JScript では、イベントは使用できません。
解説
取り消し単位を元に戻すスタックに置く場合、このイベントを処理します。このイベントを処理しないと、取り消し単位は作成されません。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Documents 名前空間