[]
        
(Showing Draft Content)

C1.GanttView.BaseCommand

BaseCommand Class

This class represents the a command in GanttView.

Inheritance
BaseCommand
Namespace: C1.GanttView
Assembly: C1.WPF.GanttView.dll
Syntax
public abstract class BaseCommand
Remarks

Implements this class to support undo/redo for you custom action.

Constructors

Name Description
BaseCommand(C1GanttView)

Initializes a new instance of BaseCommand class belong to a C1GanttView object.

Fields

Name Description
IsFirstTime

Is frist time to excute the command or not.

Properties

Name Description
View

Gets the C1GanttView object, that's command owner.

Methods

Name Description
AddCommandToUndoStack()

Add command to the undo stack for undo operation.

Do()

Executes the command without events.

Execute()

Executes the command.

Undo()

Unexecutes the command without events.

Unexecute()

Unexecutes the command.