ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / UndoManager Class / UndoDescription Method
Specifies the index of the UndoDescription.

In This Topic
    UndoDescription Method
    In This Topic
    Returns a description of the last undone action.
    Syntax
    'Declaration
     
    Public Function UndoDescription( _
       ByVal index As Integer _
    ) As String
    public string UndoDescription( 
       int index
    )

    Parameters

    index
    Specifies the index of the UndoDescription.

    Return Value

    A string containing the description of the specified undo action.
    Remarks
    This method translates the index provided to match the internal representation used by the undo engine, where the last operation (the most recent one) has an index of 0. It then retrieves the name or description of the undo action at the calculated index. This allows users to understand what action will be undone if they perform an undo operation.
    See Also