Class MoveProfileElement
Represents a profile editor command that can be used to move a profile element.
public class MoveProfileElement : IProfileEditorCommand
- Inheritance
-
objectMoveProfileElement
- Implements
Constructors
MoveProfileElement(ProfileElement, ProfileElement, int)
Creates a new instance of the MoveProfileElement class.
public MoveProfileElement(ProfileElement target, ProfileElement subject, int targetIndex)
Parameters
targetProfileElementsubjectProfileElementtargetIndexint
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()