WinForms

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

    Show / Hide Table of Contents

    Class MoveHandleCmd

    Command used for save handle changes to history.

    Inheritance
    System.Object
    MoveHandleCmd
    Implements
    ICommand
    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 MoveHandleCmd : ICommand

    Constructors

    MoveHandleCmd(PathNode)

    Initializes a new instance of the MoveHandleCmd class.

    Declaration
    public MoveHandleCmd(PathNode pathNode)
    Parameters
    Type Name Description
    PathNode pathNode

    The path node.

    Fields

    commands

    List of commands to execute.

    Declaration
    protected ArrayList commands
    Field Value
    Type Description
    System.Collections.ArrayList

    Properties

    CanUndo

    Gets a value indicating whether or not the command supports undo.

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

    Description

    Gets short, user-friendly description of the command.

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    System.String

    Methods

    CanMerge(ICommand)

    Determines whether this instance can merge the specified command to previous recorded command.

    Declaration
    public bool CanMerge(ICommand cmd)
    Parameters
    Type Name Description
    ICommand cmd

    The command to merge.

    Returns
    Type Description
    System.Boolean

    true if this instance can merge the specified command to last recorded command; otherwise, false.

    Do(Object)

    Performs the action.

    Declaration
    public bool Do(object target)
    Parameters
    Type Name Description
    System.Object target

    Object that is acted upon (noun).

    Returns
    Type Description
    System.Boolean

    True if successful; otherwise False.

    Merge(ICommand)

    Merges the specified command with last recorded user operation.

    Declaration
    public void Merge(ICommand cmd)
    Parameters
    Type Name Description
    ICommand cmd

    The command to merge.

    Undo()

    Reverses the command.

    Declaration
    public bool Undo()
    Returns
    Type Description
    System.Boolean

    True if successful; otherwise False.

    Implements

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