Class AddProfileElement
Represents a profile editor command that can be used to add a profile element.
public class AddProfileElement : IProfileEditorCommand, IDisposable
- Inheritance
-
objectAddProfileElement
- Implements
Constructors
AddProfileElement(RenderProfileElement, ProfileElement, int)
Creates a new instance of the AddProfileElement class.
public AddProfileElement(RenderProfileElement subject, ProfileElement target, int index)
Parameters
subjectRenderProfileElementtargetProfileElementindexint
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()