menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HistoryEntryBase - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HistoryEntryBase

    Represents the entry of the changed history of an object.

    Inheritance
    System.Object
    HistoryEntryBase
    HistoryEntry
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public abstract class HistoryEntryBase : Object
    Remarks

    This class serves as a base for creating history entries that reflect changes made to objects within a diagram.

    Designed to be used within undo and redo functionality to track changes chronologically.

    Constructors

    HistoryEntryBase()

    Declaration
    protected HistoryEntryBase()

    Properties

    IsUndo

    Gets or sets a value indicating whether undo action is activated.

    Declaration
    public bool IsUndo { get; set; }
    Property Value
    Type Description
    System.Boolean

    A System.Boolean indicating if this entry records an undo or redo action. The default value is false.

    Next

    Gets or sets the next history entry to be undone.

    Declaration
    public HistoryEntryBase Next { get; set; }
    Property Value
    Type Description
    HistoryEntryBase

    A HistoryEntryBase representing the next entry in undo sequence. The default value is null.

    Previous

    Gets or sets the previous history entry to be undone.

    Declaration
    public HistoryEntryBase Previous { get; set; }
    Property Value
    Type Description
    HistoryEntryBase

    A HistoryEntryBase representing the previous entry in undo sequence. The default value is null.

    RedoObject

    Gets or sets the object storing changed values for a redo operation.

    Declaration
    public IDiagramObject RedoObject { get; set; }
    Property Value
    Type Description
    IDiagramObject

    An IDiagramObject instance representing the state required for redo operation. The default value is null.

    Type

    Gets or sets the type of entry to be stored.

    Declaration
    public HistoryEntryType Type { get; set; }
    Property Value
    Type Description
    HistoryEntryType

    A HistoryEntryType representing the kind of change (e.g., add, remove, modify).

    UndoObject

    Gets or sets the object storing changed values for an undo operation.

    Declaration
    public IDiagramObject UndoObject { get; set; }
    Property Value
    Type Description
    IDiagramObject

    An IDiagramObject instance representing the state required for undo operation. The default value is null.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved