menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IUndoRedo - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IUndoRedo

    Represents to customizes the undo redo functionalities.

    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public interface IUndoRedo

    Properties

    State

    Gets or sets state for UndoRedo.

    Declaration
    UndoRedoState State { get; set; }
    Property Value
    Type
    UndoRedoState

    Methods

    CanRedo(Object)

    Specifies a method to perform redo operation.

    Declaration
    bool CanRedo(object data)
    Parameters
    Type Name Description
    System.Object data
    Returns
    Type Description
    System.Boolean

    Returns true, when the state as idle in redo operation. Otherwise, false.

    CanUndo(Object)

    Specifies a method to perform undo operation.

    Declaration
    bool CanUndo(object data)
    Parameters
    Type Name Description
    System.Object data
    Returns
    Type Description
    System.Boolean

    Returns true, when the state as idle in undo operation. Otherwise, false.

    Redo(Object)

    Specifies a method to invoke when perform redo operation.

    Declaration
    object Redo(object data)
    Parameters
    Type Name Description
    System.Object data
    Returns
    Type
    System.Object

    Undo(Object)

    Specifies a method to invoke when perform undo operation.

    Declaration
    object Undo(object data)
    Parameters
    Type Name Description
    System.Object data
    Returns
    Type
    System.Object

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved