UndoContext::IsStrict Property

 

Gets whether the undo stack linkage is strict.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

property bool IsStrict {
	bool get();
}

Property Value

Type: System::Boolean

A Boolean value indicating true if the undo stack linkage is set to strict, false if not.

Strict linked undo behavior specifies that all the linked undo sibling stacks have to be undone together or not at all. A strict linked undo operation is usually necessary in editorial changes that involve simultaneous text changes across multiple program files, such as a header file and a Visual C++ file. This is, in fact, the model used in Visual Studio. For more information about undo stack linking, see the OpenLinkedUndo method.

Return to top
Show: