The IGanttChartView type exposes the following members.

Methods

  NameDescription
AddAssignmentOverloaded.
AddPredecessors
Adds predecessors to the specified task in the control based on a string value defining new predecessor indexes, optionally followed by dependency type abbreviations (FS, SS, FF, or SF) and/or lag times (in hours, with plus or minus sign prefix), and separated by commas.
ClearPredecessors
Removes all predecessors from the specified task in the control.
DecreaseTimelinePage
Decreases the chart timeline page by subtracting UpdateTimelinePageAmount from TimelinePageStart and TimelinePageFinish.
DependsOf
Gets a value that indicates whether the specified item has another item as a direct or indirect, and an implicit or explicit predecessor in the hierarchy.
EnsureDependencyConstraintsOverloaded.
Export
Prepares the control for export operations and executes the specified export action when the context is ready.
GetAllChildren
Iterates all level child items of the specified item down in the hierarchical collection.
GetAllocations
Iterates the time interval based allocations from standard tasks assigned to a specific resource within the control. Requires that AssignmentsContent property of the task items is of type string, formatted as a list of resource names separated by commas, optionally having associated allocation percents declared between square brackets (e.g.: "John, Mary [50%], Diane [12.5%]"), or, in case of a Schedule Chart, formatted as an optional allocation percent (e.g.: "12.5%").
GetAllParents
Iterates all level parent items of the specified item up in the hierarchical collection.
GetAssignedItems
Iterates the list of standard task assignments (defined as task items) for a specific resource within the control. Requires that AssignmentsContent property of the task items is of type string, formatted as a list of resource names separated by commas, optionally having associated allocation percents declared between square brackets (e.g.: "John, Mary [50%], Diane [12.5%]"), or, in case of a Schedule Chart, formatted as an optional allocation percent (e.g.: "12.5%").
GetAssignedResourcesOverloaded.
GetAssignmentsOverloaded.
GetChildren
Iterates the direct child items of the specified item in the hierarchical collection.
GetCriticalItemsOverloaded.
GetDateTime
Gets the date and time for the specified horizontal coordinate in the chart. The output value may be less than TimelinePageStart if the position is negative, or greater than TimelinePageFinish if the position is higher than ComputedWidth.
GetDependencyType
Returns a dependency type based on the specified abbreviation string, such as an empty string, FS, SS, FF, or SF.
GetDependencyTypeAbbreviationString
Returns a string that may be used for displaying a representation of the specified dependency type.
GetEffortOverloaded.
GetExportBitmapSource
Gets a bitmap including the content of the control.
GetExportBitmapSources
Gets a set of bitmaps including the content of the control, split by a specified page size.
GetExportSize
Gets the size of the bitmap returned by GetExportBitmapSource method.
GetFinishOverloaded.
GetItemAt
Gets the item at the specified vertical coordinate in the chart. If there is no item at the specified position, returns null.
GetItemIndexAt
Gets the item index at the specified vertical coordinate in the chart. If there is no item at the specified position, it returns the appropriate index that the item would have, if it would exist.
GetItemTop
Gets the Canvas.Top value of the specified item in the chart.
GetNextNonworkingTimeOverloaded.
GetNextVisibleTime
Gets the minimum date and time greater or equal than the specified date and time that is visible in the chart, determined based on the visible week and visible day definitions. If the resulting date and time cannot be less than TimelinePageFinish, then TimelinePageFinish is returned.
GetNextWorkingTimeOverloaded.
GetParent
Gets the direct parent item of the specified item in the hierarchical collection.
GetPosition
Gets the horizontal coordinate in the chart for the specified date and time. The output value may be negative if the date time is less than TimelinePageStart, or higher than ComputedWidth if the date time is greater than TimelinePageFinish.
GetPredecessorsString
Returns a string that may be used for displaying the predecessor indexes of the specified task within the control, optionally followed by dependency type abbreviations (FS, SS, FF, or SF) and/or lag times (in hours, with plus or minus sign prefix), and separated by commas.
GetPreviousNonworkingTimeOverloaded.
GetPreviousVisibleTime
Gets the maximum date and time less or equal than the specified date and time that is visible in the chart, determined based on the visible week and visible day definitions. If the resulting date and time cannot be greater than TimelinePageStart, then TimelinePageStart is returned.
GetPreviousWorkingTimeOverloaded.
GetProjectCompletedEffort
Gets the total completed effort of the project consisting of all standard tasks within the control.
GetProjectCompletion
Gets the completion rate of the project consisting of all standard tasks within the control (between 0 and 1).
GetProjectCost
Gets the total cost of the project consisting of the root managed tasks.
GetProjectEffort
Gets the total effort of the project consisting of all standard tasks within the control.
GetProjectFinish
Gets the finish date and time of the project consisting of all standard tasks within the control.
GetProjectStart
Gets the start date and time of the project consisting of all standard tasks within the control.
GetResourceCost
Gets the assignments cost of the specified resource, summing up DefaultResourceUsageCost or SpecificResourceUsageCosts, and DefaultResourceHourCost or SpecificResourceHourCosts multiplied by work effort hours (for standard tasks). The value is eventually multiplied by assignment allocation units (if set).
GetStartOverloaded.
GetSuccessorPredecessorItems
Iterates successor items of the specified item in the Gantt Chart related collection (i.e. those that have the specified item defined as a predecessor of any dependency type) as PredecessorItem objects.
GetUpdateScaleTime
Gets the rounded date and time for the specified date and time based on the defined update scale time interval.
GetWorkingTimeIntervalsOverloaded.
HasProjectStarted
Gets a value that indicates whether the project consisting of all standard tasks within the control has its work started.
IncreaseTimelinePage
Increases the chart timeline page by adding UpdateTimelinePageAmount to TimelinePageStart and TimelinePageFinish.
IsCriticalOverloaded.
IsProjectCompleted
Gets a value that indicates whether the project consisting of all standard tasks within the control is completed.
IsProjectOnScheduleOverloaded.
LevelResourcesOverloaded.
PrintOverloaded.
RemoveAssignment
Removes the specified resource assignment from the AssignmentsContent property value of a specific task in the control. Requires that AssignmentsContent property of the task items is of type string, formatted as a list of resource names separated by commas, optionally having associated allocation percents declared between square brackets (e.g.: "John, Mary [50%], Diane [12.5%]").
RemoveCircularDependencies
Removes predecessor items that generate circular dependencies, either explicitely or implicitely in the hierarchy.
RemovePredecessors
Removes predecessors from the specified task in the control as indicated within a string value defining predecessor indexes to remove, separated by commas.
ScrollToOverloaded.
SetPredecessors
Sets the predecessors of the specified task in the control based on a string value defining predecessor indexes, optionally followed by dependency type abbreviations (FS, SS, FF, or SF) and/or lag times (in hours, with plus or minus sign prefix), and separated by commas.
SetTimelinePage
Sets the chart timeline page, i.e. the minimum and maximum date and times that the user could horizontally scroll between in the chart.
UpdatePredecessors
Updates the predecessors of the specified task in the control based on a string value defining predecessor indexes, optionally followed by dependency type abbreviations (FS, SS, FF, or SF) and/or lag times (in hours, with plus or minus sign prefix), and separated by commas.

Properties

  NameDescription
AreCircularDependenciesAllowed
Gets or sets a value that indicates whether the user is allowed to define circular dependencies between task items in the control.
AreHierarchyConstraintsEnabled
Gets a value that indicates whether hierarchy constraints are enabled so that the difference of indentation levels of parent and child items do not become larger than one.
AreIndividualItemHeightsApplied
Gets or sets a value indicating whether to consider individual GanttChartItem.ItemHeight property values (instead of only the main ItemHeight property value of the control) when computing item positions and sizes (false by default).
AreMilestonesFinishTimes
Gets or sets a value that indicates whether milestones represent finish times in the control. A false value indicates that milestones represent start times, while a null value indicates that milestones are not constrained to start, nor finish times.
AreTaskDependencyConstraintsEnabled
Gets or sets a value that indicates whether dependency constraints are enabled for items in the control, ensuring that date and times of successor items respect their predecessor settings.
AreUpdateTimelinePageButtonsVisible
Gets or sets a value that indicates whether the update timeline page buttons are going to be displayed when needed (i.e. when the horizontal scroll bar thumb is placed at the most left or the most right position on the scrollable track), allowing the end user to increase or decrease the timeline page of the Gantt Chart (preserving its duration).
AssignmentsTemplate
Gets or sets the template to be used for displaying assignments content in the chart (shown to the right of the task bars in the view).
BarHeight
Gets or sets the task bar height of any item presented in the chart.
CompletedBarHeight
Gets or sets the completion bar height of the task bar of any item presented in the chart.
CurrentTimeLineStroke
Gets or sets the brush used to draw the current time line in the chart (when IsCurrentTimeLineVisible is set to true).
DefaultResourceHourCost
Gets or sets the default hour cost value to apply for the assigned resources of the managed tasks.
DefaultResourceUsageCost
Gets or sets the default usage cost value to apply for the assigned resources of the managed tasks.
DependencyCreationValidator
Gets or sets the validation method that returns a value that indicates whether a specific task dependency can be created by a drag and drop operation in the view.
DependencyDeletionContextMenuItemHeader
Gets or sets the content to be displayed as the dependency deletion context menu item (by default the text "Delete").
DependencyDeletionValidator
Gets or sets the validation method that returns a value that indicates whether a specific task dependency can be deleted from the view.
DependencyLineStroke
Gets or sets the brush used to draw the lines representing task dependencies in the chart.
DependencyLineStrokeThickness
Gets or sets the border thickness of the lines representing task dependencies in the chart.
DependencyLineTemplate
Gets or sets the template to be used for displaying dependency lines in the chart (by default arrow polylines drawn for each predecessor item from the appropriate end of the other task bar to the appropriate end of the corresponding dependent task bar, based on the dependency type).
DisplayedTime
Gets or sets the date and time to be displayed at the most left visible horizontal position in the viewport of the internal scroll viewer of the control (the minimum date and time that is visible at the current horizontal scroll position).
HeaderBackground
Gets or sets the default header background brush of the chart (may be overriden by custom Scale.HeaderBackground property values).
HeaderHeight
Gets or sets the height of the header area of the chart.
HourWidth
Gets or sets the width of one hour of the timeline of the chart (controlling the horizontal zoom of the chart content).
IsAsyncSchedulingEnabled
Gets a value that indicates whether asynchronous scheduling is enabled.
IsCurrentTimeLineVisible
Gets or sets a value that indicates whether the current time vertical line is displayed.
IsDependencyToolTipVisible
Gets or sets a value that indicates whether the dependency line tool tips are displayed.
IsNonworkingTimeHighlighted
Gets or sets a value that indicates whether nonworking time intervals are highlighted using NonworkingTimeBackground brush in the view.
IsReadOnly
Gets or sets a value that indicates whether the user can edit the values of task items in the control by drag and drop operations.
IsSummaryTaskCompletedEffortVisible
Gets or sets a value that indicates whether task completion bars are displayed for summary items.
IsTaskCompletedEffortVisible
Gets or sets a value that indicates whether task completion bars are displayed.
IsTaskToolTipVisible
Gets or sets a value that indicates whether the task bar tool tips are displayed.
ItemHeight
Gets or sets the row height of any item presented in the chart.
Items
Gets a collection of GanttChartItem objects that represent the individual task items in the IGanttChartView control.
ManagedItems
Gets the internally managed Gantt Chart item collection.
MilestoneBarFill
Gets or sets the brush used to fill the milestone task bar diamonds in the chart (when using the default milestone task template).
MilestoneBarStroke
Gets or sets the brush used to draw the borders of the milestone task bar diamonds in the chart (when using the default milestone task template).
MilestoneBarStrokeThickness
Gets or sets the border thickness of the milestone task bar diamonds in the chart (when using the default milestone task template).
MilestoneTaskTemplate
Gets or sets the template to be used for displaying milestone task items in the chart (by default milestones are represented by diamonds in the view).
NonworkingDayIntervalProvider
Gets or sets a method used to retreive supplemental nonworking day time intervals to be considered in the chart for any specific date passed in as the method parameter.
NonworkingIntervals
Gets or sets a collection of time intervals that are to be considered as special nonworking time (such as holidays or or other type of break time) in the chart.
NonworkingTimeBackground
Gets or sets the nonworking time background brush of the chart (displayed when IsNonworkingTimeHighlighted is set to true).
PredecessorToolTipTemplate
Gets or sets the template to be used for displaying the content of dependency line tool tips (by default the Content property values of the other and dependent task items separated by a dash, when IsDependencyToolTipVisible is true).
ResourceQuantities
Gets or sets the quantity values to consider when leveling resources, indicating maximum amounts of materials available for use at the same time.
ResourceSchedules
Gets or sets the resource schedules (working and nonworking time definitions) to consider when scheduling items with assigned resources (considering the resource with the maximum assigned allocation units value for each item, and assuming they do not have specific schedules defined themselves).
ScaleHeaderHeight
Gets or sets the default height for chart scale header areas (used to initialize Scale.HeaderHeight property values).
Scales
Gets the collection of scale objects, representing items to be used as header elements in the chart (by default a major scale of type Weeks, and a minor scale Days are included).
SpecificResourceHourCosts
Gets or sets the specific hour cost values to apply for the assigned resources of the managed tasks.
SpecificResourceUsageCosts
Gets or sets the specific usage cost values to apply for the assigned resources of the managed tasks.
StandardBarCornerRadius
Gets or sets the corner radius of the standard task bars in the chart (when using the default standard task template).
StandardBarFill
Gets or sets the brush used to fill the standard task bars in the chart (when using the default standard task template).
StandardBarStroke
Gets or sets the brush used to draw the borders of the standard task bars in the chart (when using the default standard task template).
StandardBarStrokeThickness
Gets or sets the border thickness of the standard task bars in the chart (when using the default standard task template).
StandardCompletedBarCornerRadius
Gets or sets the corner radius of the completion bars of the standard task bars in the chart (when using the default standard task template).
StandardCompletedBarFill
Gets or sets the brush used to fill the completion bars of the standard task bars in the chart (when using the default standard task template).
StandardCompletedBarStroke
Gets or sets the brush used to draw the borders of the completion bars of the standard task bars in the chart (when using the default standard task template).
StandardCompletedBarStrokeThickness
Gets or sets the border thickness of the completion bars of the standard task bars in the chart (when using the default standard task template).
StandardTaskTemplate
Gets or sets the template to be used for displaying standard task items in the chart (by default standard tasks are represented by simple bars in the view).
SummaryBarFill
Gets or sets the brush used to fill the summary task bar polygons in the chart (when using the default summary task template).
SummaryBarStroke
Gets or sets the brush used to draw the borders of the summary task bar polygons in the chart (when using the default summary task template).
SummaryBarStrokeThickness
Gets or sets the border thickness of the summary task bar polygons in the chart (when using the default summary task template).
SummaryCompletedBarFill
Gets or sets the brush used to fill the completion bars of the summary task bars in the chart (when using the default summary task template and IsSummaryTaskCompletedEffortVisible is true).
SummaryTaskTemplate
Gets or sets the template to be used for displaying summary task items in the chart (by default summary tasks are represented by container bar polygons in the view).
TaskInitiationCost
Gets or sets the initiation cost value to apply to the managed tasks.
TimelinePageFinish
Gets or sets the maximum date and time that the user could horizontally scroll to in the chart.
TimelinePageStart
Gets or sets the minimum date and time that the user could horizontally scroll to in the chart.
ToolTipTemplate
Gets or sets the template to be used for displaying the content of task bar tool tips (by default the Content property value of the task item, when IsTaskToolTipVisible is true).
UpdateScaleInterval
Gets or sets the time interval that should be used for rounding the timing property values when drag and drop operations are used to modify task items in the chart (by default 15 minutes).
UpdateTimelinePageAmount
Gets or sets the amount to update timeline page when the increase and decrease update timeline page buttons are clicked.
VisibleDayFinish
Gets or sets the maximum time of day that is visible in the chart (by default, 4:00 PM).
VisibleDayStart
Gets or sets the minimum time of day that is visible in the chart (by default, 8:00 AM).
VisibleWeekFinish
Gets or sets the maximum day of week that is visible in the chart (by default, Saturday).
VisibleWeekStart
Gets or sets the minimum day of week that is visible in the chart (by default, Sunday).
WbsIndexStringSeparator
Gets or sets a the separator between parent and child WBS index string parts.
WorkingDayFinish
Gets or sets the maximum time of day that is considered as a working time in the chart (by default, 4:00 PM).
WorkingDayStart
Gets or sets the minimum time of day that is considered as a working time in the chart (by default, 8:00 AM).
WorkingTimeBackground
Gets or sets the working time background brush of the chart.
WorkingWeekFinish
Gets or sets the maximum day of week that is considered as a working day in the chart (by default, Friday).
WorkingWeekStart
Gets or sets the minimum day of week that is considered as a working day in the chart (by default, Monday).

Events

  NameDescription
ItemActivated
Occurs when an item gets activated in the Gantt Chart, i.e. when a left mouse button click event occurs while hovering a task bar in the view.
ItemCollectionChanged
Occurs when the data item collection within the control changes.
ItemPropertyChanged
Occurs when a data property value of an item within the control changes.
TimelinePageChanged
Occurs when timeline page changes in the view.

See Also