Show / Hide Table of Contents

Interface IUndoableEdit

This interface specifies how a document change (an edit) can be managed by the UndoManager.

Namespace: StockSharp.Xaml.Diagram.GXDiagram.Model
Assembly: StockSharp.Xaml.Diagram.dll
Syntax
public interface IUndoableEdit

Methods

CanRedo()

Determine if this edit is ready to be and can be redone.

Declaration
bool CanRedo()
Returns
Type Description
Boolean

CanUndo()

Determine if this edit is ready to be and can be undone.

Declaration
bool CanUndo()
Returns
Type Description
Boolean

Clear()

Forget about any state remembered in this edit.

Declaration
void Clear()

Redo()

Restore the new state of this edit after having been undone.

Declaration
void Redo()

Undo()

Restore the previous state of this edit.

Declaration
void Undo()

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)

See Also

ModelChangedEventArgs
UndoManager.CompoundEdit
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾