ITextUndoPrimitive Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an atomic operation that knows how to Do/Undo/Redo itself.
public interface class ITextUndoPrimitive
public interface class ITextUndoPrimitive
__interface ITextUndoPrimitive
public interface ITextUndoPrimitive
type ITextUndoPrimitive = interface
Public Interface ITextUndoPrimitive
Properties
CanRedo |
Determines whether it is currently possible to call Do() successfully. |
CanUndo |
Determines whether it is currently possible to call Undo() successfully. |
Parent |
Gets or sets the ITextUndoTransaction that contains the primitive. |
Methods
CanMerge(ITextUndoPrimitive) |
Determines whether this undo primitive can merge with the specified undo primitive. |
Do() |
Performs or redoes the operation. |
Merge(ITextUndoPrimitive) |
Performs the actual merge. |
Undo() |
Performs rollback or undo on the operation. |