Class
ImageHistory

Definition

Namespace:Telerik.Windows.Media.Imaging.History

Assembly:Telerik.Windows.Controls.ImageEditor.dll

Syntax:

cs-api-definition
public class ImageHistory

Inheritance: objectImageHistory

Constructors

ImageHistory()

Declaration

cs-api-definition
public ImageHistory()

Fields

DefaultDepth

Declaration

cs-api-definition
public const int DefaultDepth = 1000

Field Value

int

Properties

CanRedo

Determines whether a redo operation is available.

Declaration

cs-api-definition
public bool CanRedo { get; }

Property Value

bool

CanUndo

Determines whether an undo operation is available.

Declaration

cs-api-definition
public bool CanUndo { get; }

Property Value

bool

CurrentImage

Gets the current image.

Declaration

cs-api-definition
public RadBitmap CurrentImage { get; }

Property Value

RadBitmap

Depth

Gets or sets the max count allowed in both undo and redo stacks.

Declaration

cs-api-definition
public int Depth { get; set; }

Property Value

int

MaximumMemoryBufferSize

Gets or sets the maximum amount of memory in bytes the history manager can use to optimize the undo and redo operations.

Declaration

cs-api-definition
public long MaximumMemoryBufferSize { get; set; }

Property Value

long

Methods

Clear()

Clears both undo and redo stacks.

Declaration

cs-api-definition
public void Clear()

Clear(RadBitmap)

Declaration

cs-api-definition
public void Clear(RadBitmap newImage)

Parameters

newImage

RadBitmap

Execute(IImageCommand, object)

Declaration

cs-api-definition
public void Execute(IImageCommand command, object context)

Parameters

command

IImageCommand

context

object

Redo()

Declaration

cs-api-definition
public void Redo()

Undo()

Declaration

cs-api-definition
public void Undo()

Events

CurrentImageChanged

Declaration

cs-api-definition
public event EventHandler CurrentImageChanged

Event Value

EventHandler

RedoExecuted

Declaration

cs-api-definition
public event EventHandler RedoExecuted

Event Value

EventHandler

RedoExecuting

Declaration

cs-api-definition
public event EventHandler RedoExecuting

Event Value

EventHandler

UndoExecuted

Declaration

cs-api-definition
public event EventHandler UndoExecuted

Event Value

EventHandler

UndoExecuting

Declaration

cs-api-definition
public event EventHandler UndoExecuting

Event Value

EventHandler