WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HistoryList - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HistoryList

    HistoryList is LinearLinkedList containing HistoryEntries. Each HistoryEntry contains Command to execute

    Inheritance
    System.Object
    HistoryList
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class HistoryList

    Constructors

    HistoryList()

    Declaration
    public HistoryList()

    Fields

    m_bCanRedo

    Declaration
    protected bool m_bCanRedo
    Field Value
    Type Description
    System.Boolean

    m_bCanUndo

    Declaration
    protected bool m_bCanUndo
    Field Value
    Type Description
    System.Boolean

    m_nodeCurrent

    Declaration
    protected HistoryEntry m_nodeCurrent
    Field Value
    Type Description
    HistoryEntry

    Properties

    CanRedo

    Gets a value indicating whether there is HistoryEntry to Redo.

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

    CanUndo

    Gets a value indicating whether there is HistoryEntry to Undo.

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

    Methods

    AddEntry(ICommand)

    Adds new HistoryEntry to Historylist.

    Declaration
    public void AddEntry(ICommand command)
    Parameters
    Type Name Description
    ICommand command

    The command.

    CanMerge(ICommand)

    Declaration
    public bool CanMerge(ICommand cmdMerging)
    Parameters
    Type Name Description
    ICommand cmdMerging
    Returns
    Type Description
    System.Boolean

    ClearHistory()

    Clears HistoryList.

    Declaration
    public void ClearHistory()

    GetRedoCmd()

    Fetches for HistoryEntry to Redo.

    Declaration
    public ICommand GetRedoCmd()
    Returns
    Type Description
    ICommand

    The command.

    GetRedoDescriptions(Int32, out String[])

    Declaration
    public int GetRedoDescriptions(int nDepth, out string[] strRedoDesciptions)
    Parameters
    Type Name Description
    System.Int32 nDepth
    System.String[] strRedoDesciptions
    Returns
    Type Description
    System.Int32

    GetUndoCmd()

    Fetches HistoryEntry to Undo.

    Declaration
    public ICommand GetUndoCmd()
    Returns
    Type Description
    ICommand

    The command.

    GetUndoDescriptions(Int32, out String[])

    Declaration
    public int GetUndoDescriptions(int nDepth, out string[] strUndoDesciptions)
    Parameters
    Type Name Description
    System.Int32 nDepth
    System.String[] strUndoDesciptions
    Returns
    Type Description
    System.Int32

    Merge(ICommand)

    Declaration
    public void Merge(ICommand cmdToMerge)
    Parameters
    Type Name Description
    ICommand cmdToMerge
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved