Class ImageHistory
Inheritance
Inherited Members
Namespace: Telerik.Windows.Media.Imaging.History
Assembly: Telerik.Windows.Controls.ImageEditor.dll
Syntax
public class ImageHistory
Constructors
ImageHistory()
Declaration
public ImageHistory()
Fields
DefaultDepth
Declaration
public const int DefaultDepth = 1000
Field Value
System.Int32
|
Properties
CanRedo
Determines whether a redo operation is available.
Declaration
public bool CanRedo { get; }
Property Value
System.Boolean
|
CanUndo
Determines whether an undo operation is available.
Declaration
public bool CanUndo { get; }
Property Value
System.Boolean
|
CurrentImage
Depth
Gets or sets the max count allowed in both undo and redo stacks.
Declaration
public int Depth { get; set; }
Property Value
System.Int32
|
MaximumMemoryBufferSize
Gets or sets the maximum amount of memory in bytes the history manager can use to optimize the undo and redo operations.
Declaration
public long MaximumMemoryBufferSize { get; set; }
Property Value
System.Int64
|
Methods
Clear()
Clears both undo and redo stacks.
Declaration
public void Clear()
Clear(RadBitmap)
Execute(IImageCommand, Object)
Declaration
public void Execute(IImageCommand command, object context)
Parameters
IImageCommand
command
|
System.Object
context
|
Redo()
Declaration
public void Redo()
Undo()
Declaration
public void Undo()
Events
CurrentImageChanged
Declaration
public event EventHandler CurrentImageChanged
Event Type
System.EventHandler
|
RedoExecuted
Declaration
public event EventHandler RedoExecuted
Event Type
System.EventHandler
|
RedoExecuting
Declaration
public event EventHandler RedoExecuting
Event Type
System.EventHandler
|
UndoExecuted
Declaration
public event EventHandler UndoExecuted
Event Type
System.EventHandler
|
UndoExecuting
Declaration
public event EventHandler UndoExecuting
Event Type
System.EventHandler
|