Gantt Chart control
More...
Inherits UserControl.
|
IEnumerable< Task > | SelectedTasks [get] |
| Get the selected tasks More...
|
|
Task | SelectedTask [get] |
| Get the latest selected task More...
|
|
int | HeaderOneHeight [get, set] |
| Get or set header1 pixel height More...
|
|
string | FullDateStringFormat [get, set] |
| Get or set the DateTime string format. Default value is D/M/YYYY More...
|
|
int | HeaderTwoHeight [get, set] |
| Get or set header2 pixel height More...
|
|
int | BarSpacing [get, set] |
| Get or set pixel distance from top of each Task to the next More...
|
|
int | BarHeight [get, set] |
| Get or set pixel height of each Task More...
|
|
int | BarWidth [get, set] |
| Get or set pixel width of each unit of period More...
|
|
TaskFormat | TaskFormat [get, set] |
| Get or set format for Tasks More...
|
|
TaskFormat | CriticalTaskFormat [get, set] |
| Get or set format for critical Tasks More...
|
|
HeaderFormat | HeaderFormat [get, set] |
| Get or set format for headers More...
|
|
RelationFormat | RelationFormat [get, set] |
| Get or set format for relations More...
|
|
bool | AllowTaskDragDrop [get, set] |
| Get or set whether dragging of Tasks is allowed. Set to false when not dragging to skip drag(drop) tracking. More...
|
|
bool | ShowRelations [get, set] |
| Get or set whether to show relations More...
|
|
bool | ShowTaskLabels [get, set] |
| Get or set whether to show task labels More...
|
|
bool | AccumulateRelationsOnGroup [get, set] |
| Get or set whether to accumulate relations on group tasks and show relations even when group is collapsed. (Not working well; still improving on it) More...
|
|
bool | ShowSlack [get, set] |
| Get or set whether to show slack More...
|
|
TimeScaleDisplay | TimeScaleDisplay [get, set] |
| Get or set the time scale display format More...
|
|
Braincase.GanttChart.Chart.Chart |
( |
) | |
|
void Braincase.GanttChart.Chart.BeginBillboardMode |
( |
Graphics |
graphics) | |
|
Begin billboard mode. Graphics must orginate from Chart and be same as that used in EndBillboardMode.
- Parameters
-
void Braincase.GanttChart.Chart.ClearToolTip |
( |
Task |
task) | |
|
Clear tool tip for the specified task
- Parameters
-
void Braincase.GanttChart.Chart.ClearToolTips |
( |
) | |
|
override void Braincase.GanttChart.Chart.Dispose |
( |
bool |
disposing) | |
|
|
protected |
Clean up any resources being used.
- Parameters
-
disposing | true if managed resources should be disposed; otherwise, false. |
void Braincase.GanttChart.Chart.EndBillboardMode |
( |
Graphics |
graphics) | |
|
End billboard mode. Graphics must orginate from Chart and be same as that used in BeginBillboardMode.
- Parameters
-
ChartInfo Braincase.GanttChart.Chart.GetChartInfo |
( |
Point |
mouse) | |
|
Get information about the chart area at the mouse coordinate of the chart
- Parameters
-
- Returns
string Braincase.GanttChart.Chart.GetToolTip |
( |
Task |
task) | |
|
Get tool tip currently set for the specified task
- Parameters
-
- Returns
Initialize this Chart with a Project
- Parameters
-
override void Braincase.GanttChart.Chart.OnMouseClick |
( |
MouseEventArgs |
e) | |
|
|
protected |
Raises the System.Windows.Forms.Control.MouseClick event
- Parameters
-
override void Braincase.GanttChart.Chart.OnMouseDoubleClick |
( |
MouseEventArgs |
e) | |
|
|
protected |
Raises the System.Windows.Forms.Control.MouseDoubleClick event
- Parameters
-
override void Braincase.GanttChart.Chart.OnMouseDown |
( |
MouseEventArgs |
e) | |
|
|
protected |
Raises the System.Windows.Forms.Control.MouseDown event
- Parameters
-
override void Braincase.GanttChart.Chart.OnMouseMove |
( |
MouseEventArgs |
e) | |
|
|
protected |
Raises the System.Windows.Forms.Control.MouseMove event
- Parameters
-
override void Braincase.GanttChart.Chart.OnMouseUp |
( |
MouseEventArgs |
e) | |
|
|
protected |
Raises the System.Windows.Forms.Control.MouseUp event
- Parameters
-
override void Braincase.GanttChart.Chart.OnPaint |
( |
PaintEventArgs |
e) | |
|
|
protected |
Raises the System.Windows.Forms.Control.Paint event
- Parameters
-
Raises the PaintOverlay event
- Parameters
-
Raises the TaskDeselecting event
- Parameters
-
Raises the TaskMouseClick event
- Parameters
-
Raises the TaskMouseDoubleClick event
- Parameters
-
Raises the TaskMouseDrag( event
- Parameters
-
Raises the TaskMouseDrop event
- Parameters
-
Raises the TaskMouseOver event
- Parameters
-
Raises the TaskMouseOver event
- Parameters
-
Raises the TaskSelected event
- Parameters
-
void Braincase.GanttChart.Chart.Print |
( |
PrintDocument |
document, |
|
|
float |
scale = 1.0f |
|
) |
| |
Print the Chart to the specified PrintDocument.
Bitmap Braincase.GanttChart.Chart.Print |
( |
float |
scale = 1.0f ) | |
|
Print the Chart to the specified Image
- Parameters
-
scale | Scale to print the image at. |
void Braincase.GanttChart.Chart.ScrollTo |
( |
DateTime |
datetime) | |
|
Scroll to the specified DateTime
- Parameters
-
void Braincase.GanttChart.Chart.ScrollTo |
( |
Task |
task) | |
|
Scroll to the specified task
- Parameters
-
void Braincase.GanttChart.Chart.SetToolTip |
( |
Task |
task, |
|
|
string |
text |
|
) |
| |
Set tool tip for the specified task
- Parameters
-
bool Braincase.GanttChart.Chart.TryGetRow |
( |
Task |
task, |
|
|
out int |
row |
|
) |
| |
Get the line number of the specified task
- Parameters
-
- Returns
bool Braincase.GanttChart.Chart.TryGetTask |
( |
int |
row, |
|
|
out Task |
task |
|
) |
| |
Get the task at the specified line number
- Parameters
-
- Returns
Func<Task> Braincase.GanttChart.Chart.CreateTaskDelegate = delegate() { return new Task(); } |
Delegate method for creating a new Task. Creates Task by default.
bool Braincase.GanttChart.Chart.AccumulateRelationsOnGroup |
|
getset |
Get or set whether to accumulate relations on group tasks and show relations even when group is collapsed. (Not working well; still improving on it)
bool Braincase.GanttChart.Chart.AllowTaskDragDrop |
|
getset |
Get or set whether dragging of Tasks is allowed. Set to false when not dragging to skip drag(drop) tracking.
int Braincase.GanttChart.Chart.BarHeight |
|
getset |
Get or set pixel height of each Task
int Braincase.GanttChart.Chart.BarSpacing |
|
getset |
Get or set pixel distance from top of each Task to the next
int Braincase.GanttChart.Chart.BarWidth |
|
getset |
Get or set pixel width of each unit of period
TaskFormat Braincase.GanttChart.Chart.CriticalTaskFormat |
|
getset |
Get or set format for critical Tasks
string Braincase.GanttChart.Chart.FullDateStringFormat |
|
getset |
Get or set the DateTime string format. Default value is D/M/YYYY
Get or set format for headers
int Braincase.GanttChart.Chart.HeaderOneHeight |
|
getset |
Get or set header1 pixel height
int Braincase.GanttChart.Chart.HeaderTwoHeight |
|
getset |
Get or set header2 pixel height
Get or set format for relations
Task Braincase.GanttChart.Chart.SelectedTask |
|
get |
Get the latest selected task
IEnumerable<Task> Braincase.GanttChart.Chart.SelectedTasks |
|
get |
bool Braincase.GanttChart.Chart.ShowRelations |
|
getset |
Get or set whether to show relations
bool Braincase.GanttChart.Chart.ShowSlack |
|
getset |
Get or set whether to show slack
bool Braincase.GanttChart.Chart.ShowTaskLabels |
|
getset |
Get or set whether to show task labels
Get or set format for Tasks
Get or set the time scale display format
Occurs before the header gets painted
Occurs before overlays get painted
Occurs before a Task gets painted
Occurs when a Task is clicked
Occurs when a Task is double clicked by the mouse
Occurs when a Task is being dragged by the mouse
Occurs when a dragged Task is being dropped by releasing any previously pressed mouse button.
Occurs when the mouse leaves a Task
Occurs when the mouse is moving over a Task
Occurs when a task is selected.
The documentation for this class was generated from the following files:
- D:/SVN/codeplex/ganttchart/GanttChart/Chart.cs
- D:/SVN/codeplex/ganttchart/GanttChart/Chart.Designer.cs