Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ITextUndoHistory.CanUndo Property

Determines whether a single undo is possible.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
bool CanUndo { get; }

Property Value

Type: System.Boolean
true if a single undo is possible, otherwise false.

This property corresponds to CanUndo for the most recent visible undo ITextUndoTransaction. If there are hidden transactions on top of the visible transaction, this property returns true only if they can be undone as well.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.