Version

GanttCommandId Enumeration

Enumeration used to identify an action to be taken by the XamGantt
Syntax
'Declaration
 
Public Enum GanttCommandId 
   Inherits System.Enum
public enum GanttCommandId : System.Enum 
Members
MemberDescription
AddSubtaskAdds a new task to ProjectTask.Tasks collection of the the specified task or the active/selected task if one isn't specified.
AddTaskInserts a new task after the specified task or the active/selected task if one isn't specified.
CalculateProjectInvokes the Project.Calculate method of the associated ProjectControlBase.Project
CancelTaskBarDragCancels the dragging of a task bar that is currently in progress.
ChangeTaskToActiveChanges the ProjectTask.IsActive to true for the task, their descendants and any inactive ancestors.
ChangeTaskToAutomaticChanges the ProjectTask.IsManual to false.
ChangeTaskToInactiveChanges the ProjectTask.IsActive to false for the task(s) and their descendants.
ChangeTaskToManualChanges the ProjectTask.IsManual to true.
ChangeViewTableChanges the ProjectView.TableKey of the current XamGantt.View to the specified table.
ClearSortClears the ProjectView.SortedColumns of the XamGantt.View
DeleteLinkRemoves the specified ProjectTaskDependency
DeleteTaskDeletes the specified task(s) or the selected task(s) if one isn't specified.
EnterEditModeEnters edit mode on the current active cell.
ExitEditModeAndAcceptChangesExits edit mode on the current active cell without canceling the edited value.
ExitEditModeAndDiscardChangesExits edit mode on the current active cell and discards the edited value.
HideColumnRemoves the column specified in the parameter from the table in view or the selected columns if a column is not specified
HideSubtasksChanges the ProjectTask.IsExpanded to false.
IndentTaskInvokes the ProjectTask.Indent method of the specified task.
InsertColumnInserts a column into the table in view in front of the currently selected column
InsertTaskInserts a new task before the specified task or the active/selected task if one isn't specified.
NotACommandDoes nothing. NotACommand is always ignored.
OutdentTaskInvokes the ProjectTask.Outdent method of the specified task.
RespectLinksInvokes the ProjectTask.RespectLinks method of the specified task(s) or the selected task(s) if one isn't specified.
ScrollToNextTimescaleItemScrolls the timescale forward to the next small timescale interval.
ScrollToNextTimescalePageScrolls the timescale forward by one page.
ScrollToPreviousTimescaleItemScrolls the timescale backward to the previous small timescale interval.
ScrollToPreviousTimescalePageScrolls the timescale backward by one page.
ScrollToProjectFinishScrolls the timescale such that the Project.Finish is in view.
ScrollToProjectStartScrolls the timescale such that the Project.Start is in view.
ScrollToTaskFinishScrolls the timescale such that the ProjectTask.ManualFinish is in view.
ScrollToTaskStartScrolls the timescale such that the ProjectTask.ManualStart is in view.
ShowSubtasksChanges the ProjectTask.IsExpanded to true.
ToggleTaskActiveToggles the ProjectTask.IsActive state. Note, when conflicts arise where a selected ancestor is active and a selected descendant is inactive, the ancestor and all of its descendants will be deactivated.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also