Sdílet prostřednictvím


UndoContext.IsStrict Property

Definition

Gets whether the undo stack linkage is strict.

public:
 property bool IsStrict { bool get(); };
public:
 property bool IsStrict { bool get(); };
[System.Runtime.InteropServices.DispId(6)]
public bool IsStrict { [System.Runtime.InteropServices.DispId(6)] get; }
[<System.Runtime.InteropServices.DispId(6)>]
[<get: System.Runtime.InteropServices.DispId(6)>]
member this.IsStrict : bool
Public ReadOnly Property IsStrict As Boolean

Property Value

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

Attributes

Remarks

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.

Applies to