GanttControl Events
Represents a bar chart that illustrates a project schedule. The control displays project tasks organized in a tree list. The chart displays a bar against each task that shows the task start and finish dates, progress, and dependencies.Name | Description |
---|---|
AfterCheckNode | Occurs after a node’s check state has been changed by an end-user. Inherited from TreeList. |
AfterCollapse | Fires immediately after a node has been collapsed. Inherited from TreeList. |
AfterDragNode | Fires immediately after a drag-and-drop operation on a node has been successfully completed. Inherited from TreeList. |
AfterDropNode | Fires after a node is dropped. Inherited from TreeList. |
AfterExpand | Fires immediately after a node has been expanded. Inherited from TreeList. |
AfterFocusNode | Fires in response to focus being moved between nodes. Inherited from TreeList. |
AutoSizeChanged | This event is not relevant for this class. Inherited from Control. |
BackColorChanged | Occurs when the value of the BackColor property changes. Inherited from Control. |
BackgroundImageChanged | Occurs when the value of the BackgroundImage property changes. Inherited from Control. |
BackgroundImageLayoutChanged | Occurs when the BackgroundImageLayout property changes. Inherited from Control. |
BandWidthChanged | Occurs when the band’s width is changed. Inherited from TreeList. |
BeforeCheckNode | Occurs before a node’s check state is changed. Inherited from TreeList. |
BeforeCollapse | Fires before a node is collapsed. Inherited from TreeList. |
BeforeDragNode | Fires when an attempt to drag a node is performed. Inherited from TreeList. |
BeforeDropNode | Fires when a node is about to be dropped, and allows you to cancel the operation. Inherited from TreeList. |
BeforeExpand | Fires before a node is expanded. Allows you to implement dynamic node loading in unbound mode. Inherited from TreeList. |
BeforeFocusNode | Fires before a node is focused. Inherited from TreeList. |
BeforeLoadLayout | Occurs before a layout is restored from storage (a stream, xml file or the system registry). Inherited from TreeList. |
BindingContextChanged | Occurs when the value of the BindingContext property changes. Inherited from Control. |
CalcNodeDragImageIndex | Enables you to specify a custom image to be displayed in front of nodes when dragging. Inherited from TreeList. |
CalcNodeHeight | Allows you to assign custom node height. Inherited from TreeList. |
CausesValidationChanged | Occurs when the value of the CausesValidation property changes. Inherited from Control. |
CellValueChanged | Fires immediately after a user closes a cell editor with a modified value. Inherited from TreeList. |
CellValueChanging | Fires when an end-user starts to edit a cell value. Inherited from TreeList. |
ChangeUICues | Occurs when the focus or keyboard user interface (UI) cues change. Inherited from Control. |
Click | Occurs when the control is clicked. Inherited from Control. |
ClientSizeChanged | Occurs when the value of the ClientSize property changes. Inherited from Control. |
ClipboardNodeCopying | Fires before a data row, group row, column headers, or band headers are copied to the clipboard. Allows you to apply a format, change the copied data, or skip a data row or header. Inherited from TreeList. |
ClipboardNodePasting | Repeatedly fires for each pasted row before updating the control, and allows you to modify pasted data and cancel pasting the currently processed row. Inherited from TreeList. |
ColumnButtonClick | Fires when the column button is clicked. Inherited from TreeList. |
ColumnChanged | Fires immediately after the column collection or an individual column has been modified. Inherited from TreeList. |
ColumnFilterChanged | Occurs when a column’s filter condition is changed. Inherited from TreeList. |
ColumnPositionChanged | Fires when a column is moved, hidden, or shown. Inherited from TreeList. |
ColumnUnboundExpressionChanged | Fires after a column’s TreeListColumn.UnboundExpression property has been changed. Inherited from TreeList. |
ColumnWidthChanged | Fires after a column’s width has been changed. Inherited from TreeList. |
CompareNodeValues | Enables you to implement custom sorting for columns whose TreeListColumn.SortMode property is set to Custom. For versions 17.1 and higher, the CompareNodeValues event is deprecated and replaced with the TreeList.CustomColumnSort event. Inherited from TreeList. |
ContextMenuChanged | Occurs when the value of the ContextMenu property changes. Inherited from Control. |
ContextMenuStripChanged | Occurs when the value of the ContextMenuStrip property changes. Inherited from Control. |
ControlAdded | Occurs when a new control is added to the Control.ControlCollection. Inherited from Control. |
ControlRemoved | Occurs when a control is removed from the Control.ControlCollection. Inherited from Control. |
CreateCustomNode | Provides the ability to create custom nodes. Inherited from TreeList. |
CursorChanged | Occurs when the value of the Cursor property changes. Inherited from Control. |
CustomColumnDisplayText | Fires for both bound and unbound Tree List columns and allows you to provide a custom display text for any cell. Inherited from TreeList. |
CustomColumnSort | Allows you to apply custom sorting for those Tree List columns whose TreeListColumn.SortMode is set to Custom. Inherited from TreeList. |
CustomDrawBandHeader | Provides the capability to custom paint band headers. Inherited from TreeList. |
CustomDrawColumnHeader | Provides the ability to custom paint column headers and the column button. Inherited from TreeList. |
CustomDrawEmptyArea | Enables you to custom paint a Tree List’s empty area. Inherited from TreeList. |
CustomDrawFilterPanel | Enables you to custom paint the Filter Panel. Inherited from TreeList. |
CustomDrawFooter | Gives you the ability to perform custom painting of the summary footer. Inherited from TreeList. |
CustomDrawFooterCell | Gives you the ability to perform custom painting of column footer cells. Inherited from TreeList. |
CustomDrawNodeButton | Gives you the ability to perform custom painting of expand buttons. Inherited from TreeList. |
CustomDrawNodeCell | Provides the ability to perform custom painting of node cells. Inherited from TreeList. |
CustomDrawNodeCheckBox | Enables you to manually paint node check boxes. Inherited from TreeList. |
CustomDrawNodeImages | Provides access to a GDI+/DirectX drawing surface and allows you to draw node icons manually. Inherited from TreeList. |
CustomDrawNodeIndent | Enables tree indents to be painted manually. Inherited from TreeList. |
CustomDrawNodeIndicator | Provides the ability to perform custom painting of indicator cells. Inherited from TreeList. |
CustomDrawNodePreview | Allows you to custom paint preview sections. Inherited from TreeList. |
CustomDrawRow | Provides the ability to perform custom painting of rows. Inherited from TreeList. |
CustomDrawRowFooter | Provides the ability to perform custom painting of row footers. Inherited from TreeList. |
CustomDrawRowFooterCell | Provides the ability to perform custom painting of row footer cells. Inherited from TreeList. |
CustomDrawScroll | Allows you to draw custom scrollbars, or highlight specific positions on the scrollbars. Inherited from TreeList. |
CustomDrawTask | Fires before a task in the chart area is displayed. Provides access to a drawing surface and allows you to draw the task manually. |
CustomDrawTaskDependency | Fires before a task dependency line in the chart area is displayed. Provides access to a drawing surface and allows you to draw the task manually. |
CustomDrawTimescaleColumn | Fires before a column in the chart area is displayed. Provides access to a drawing surface and allows you to draw the column manually. |
CustomFilterDisplayText | Allows the text displayed within the Filter Panel to be customized. Inherited from TreeList. |
CustomizeNewNodeFromOuterData | Fires when a node from another TreeList control is dropped onto the current TreeList control and thus, a new node in the current TreeList is about to be created. The event allows you to provide data for the new node that is to be created. Inherited from TreeList. |
CustomNodeCellEdit | Enables editors to be assigned to cells on an individual basis. Inherited from TreeList. |
CustomNodeCellEditForEditing | Allows you to assign a custom editor to a column for in-place editing and override the default column editor, which is by default used both in display and edit modes. Inherited from TreeList. |
CustomRowFilter | Allows you to specify the node visibility, regardless of the currently applied filter. Inherited from TreeList. |
CustomScrollAnnotation | Allows you to specify custom annotations. Inherited from TreeList. |
CustomTaskDisplayText | Allows you to specify the text displayed inside, to the left, and to the right of the task. |
CustomUnboundColumnData | Allows you to provide data to unbound columns, and save their modified records to an external source. Inherited from TreeList. |
DataSourceChanged | Occurs whenever the TreeList changes its data source. Inherited from TreeList. |
DefaultPaintHelperChanged | Fires when a different paint helper is assigned to the TreeList control. Inherited from TreeList. |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
DockChanged | Occurs when the value of the Dock property changes. Inherited from Control. |
DoubleClick | Occurs when the control is double-clicked. Inherited from Control. |
DpiChangedAfterParent | Occurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed. Inherited from Control. |
DpiChangedBeforeParent | Occurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred. Inherited from Control. |
DragCancelNode | Fires immediately after a drag-and-drop operation over a node has been canceled. Inherited from TreeList. |
DragDrop | Occurs when a drag-and-drop operation is completed. Inherited from Control. |
DragEnter | Occurs when an object is dragged into the control’s bounds. Inherited from Control. |
DragLeave | Occurs when an object is dragged out of the control’s bounds. Inherited from Control. |
DragObjectDrop | Fires immediately after the drag and drop operation has been completed. Inherited from TreeList. |
DragObjectOver | Enables you to control whether the dragged column header can be dropped at the current position. Inherited from TreeList. |
DragObjectStart | Fires when an end-user attempts to drag a column header. Inherited from TreeList. |
DragOver | Occurs when an object is dragged over the control’s bounds. Inherited from Control. |
EditFormHidden | Fires after the Edit Form is closed. Inherited from TreeList. |
EditFormPrepared | Fires when the Edit Form is about to be displayed. Allows you to customize the Edit Form. Inherited from TreeList. |
EditFormShowing | Fires when the Edit Form is about to be displayed. Allows you to cancel the action. Inherited from TreeList. |
EditorKeyDown | Occurs when a key is pressed within an in-place editor that belongs to the container control. Inherited from EditorContainer. |
EditorKeyPress | Occurs when a character key is pressed within an in-place editor that belongs to the container control. Inherited from EditorContainer. |
EditorKeyUp | Occurs when a pressed key is released within an in-place editor that belongs to the container control. Inherited from EditorContainer. |
EnabledChanged | Occurs when the Enabled property value has changed. Inherited from Control. |
EndSorting | Fires after a sorting operation has finished. Inherited from TreeList. |
Enter | Occurs when the control is entered. Inherited from Control. |
FilterEditorCreated | Allows you to customize the Filter Editor before it is displayed on screen. Inherited from TreeList. |
FilterNode | This event is obsolete. Use the TreeList.CustomRowFilter event instead. Inherited from TreeList. |
FilterPopupExcelCustomizeTemplate | Allows you to customize templates used by Excel-style Filter Dropdowns and external editors generated using Filtering UI Context. Inherited from TreeList. |
FilterPopupExcelData | Allows you to add, remove, and modify data values and customize predefined filters in the Excel style pop-up filter menus. Inherited from TreeList. |
FilterPopupExcelParseFilterCriteria | Allows you to parse the filter criteria applied to data and select the corresponding values in the filter menu. Inherited from TreeList. |
FilterPopupExcelPrepareTemplate | Allows you to replace templates used by Excel-style Filter Dropdowns and external editors generated using Filtering UI Context. Inherited from TreeList. |
FilterPopupExcelQueryFilterCriteria | Fires when a filter criteria is about to be applied to data and allows you to customize the filter criteria. Inherited from TreeList. |
FocusedColumnChanged | Fires immediately after focus has been moved from a column. Inherited from TreeList. |
FocusedNodeChanged | Fires immediately after changing the focused node. Inherited from TreeList. |
FontChanged | Occurs when the Font property value changes. Inherited from Control. |
ForeColorChanged | Occurs when the ForeColor property value changes. Inherited from Control. |
FormatRuleExpressionEditorCreated | Allows you to customize the Expression Editor embedded in the Edit Formatting Rule dialog. Inherited from TreeList. |
GetCustomNodeCellEdit | Obsolete. Provides the ability to assign editors to individual cells. Inherited from TreeList. |
GetCustomNodeCellStyle | Obsolete. Provides the ability to assign custom style to individual cells. Inherited from TreeList. |
GetCustomSummaryValue | Enables you to perform custom summary value calculations. Inherited from TreeList. |
GetNodeDisplayValue | Provides the ability to display custom values within cells. Inherited from TreeList. |
GetPreviewText | Enables you to supply custom text for nodes’ preview sections. Inherited from TreeList. |
GetPrintCustomSummaryValue | Permits manual calculations of summary values for the printed version of the Tree List control. Inherited from TreeList. |
GetPrintPreviewText | Enables you to display custom text in preview sections when the control is printed. Inherited from TreeList. |
GetSelectImage | Allows you to assign select images to nodes. Inherited from TreeList. |
GetStateImage | Allows you to assign state images to nodes. Inherited from TreeList. |
GiveFeedback | Occurs during a drag operation. Inherited from Control. |
GotFocus | Occurs when the control receives focus. Inherited from Control. |
HandleCreated | Occurs when a handle is created for the control. Inherited from Control. |
HandleDestroyed | Occurs when the control’s handle is in the process of being destroyed. Inherited from Control. |
HelpRequested | Occurs when the user requests help for a control. Inherited from Control. |
HiddenEditor | Fires immediately after a cell editor has been closed. Inherited from TreeList. |
HideCustomizationForm | Fires immediately after the Customization Form has been closed. Inherited from TreeList. |
ImeModeChanged | Occurs when the ImeMode property has changed. Inherited from Control. |
Invalidated | Occurs when a control’s display requires redrawing. Inherited from Control. |
InvalidNodeException | Fires when a node fails validation or when its data cannot be saved to the data source. Inherited from TreeList. |
InvalidValueException | Enables you to handle exceptions raised as a result of assigning invalid values to cells. Inherited from TreeList. |
KeyDown | Occurs when a key is pressed while the control has focus. Inherited from Control. |
KeyPress | Occurs when a character. space or backspace key is pressed while the control has focus. Inherited from Control. |
KeyUp | Occurs when a key is released while the control has focus. Inherited from Control. |
Layout | Occurs when a control should reposition its child controls. Inherited from Control. |
LayoutUpdated | Fires after a Tree List’s layout has been changed. Inherited from TreeList. |
LayoutUpgrade | Occurs after a layout the version of which doesn’t match the current layout version used has been loaded from storage (a stream, xml file or system registry). Inherited from TreeList. |
Leave | Occurs when the input focus leaves the control. Inherited from Control. |
LeftCoordChanged | Fires when the control’s content is scrolled horizontally. Inherited from TreeList. |
Load | Occurs when a TreeList control is displayed for the first time. Inherited from TreeList. |
LocationChanged | Occurs when the Location property value has changed. Inherited from Control. |
LostFocus | Occurs when the control loses focus. Inherited from Control. |
MarginChanged | Occurs when the control’s margin changes. Inherited from Control. |
MeasurePreviewHeight | Allows you to specify the height of individual preview sections in pixels. Inherited from TreeList. |
MouseCaptureChanged | Occurs when the control loses mouse capture. Inherited from Control. |
MouseClick | Occurs when the control is clicked by the mouse. Inherited from Control. |
MouseDoubleClick | Occurs when the control is double clicked by the mouse. Inherited from Control. |
MouseDown | Occurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control. |
MouseEnter | Occurs when the mouse pointer enters the control. Inherited from Control. |
MouseHover | Occurs when the mouse pointer rests on the control. Inherited from Control. |
MouseLeave | Occurs when the mouse pointer leaves the control. Inherited from Control. |
MouseMove | Occurs when the mouse pointer is moved over the control. Inherited from Control. |
MouseUp | Occurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control. |
MouseWheel | Occurs when the mouse wheel moves while the control has focus. Inherited from Control. |
Move | Occurs when the control is moved. Inherited from Control. |
NodeCellStyle | Allows you to customize the appearance of individual cells. Inherited from TreeList. |
NodeChanged | Fires after the node’s property has changed. Inherited from TreeList. |
NodesReloaded | Fires when the Tree List control reloads all nodes. Inherited from TreeList. |
PaddingChanged | Occurs when the control’s padding changes. Inherited from Control. |
Paint | Occurs when the control is redrawn. Inherited from Control. |
PaintEx | A DirectX-compatible method that replaces the standard Control.Paint method. Inherited from TreeList. |
ParentChanged | Occurs when the Parent property value changes. Inherited from Control. |
ParseFindPanelText | Fires after the query in the find panel changes. Allows you to create a filter condition based on the query and specify how to highlight results in the control. Inherited from TreeList. |
PopupMenuShowing | This event is not relevant to the control. Use TreeListPopupMenuShowing or TaskPopupMenuShowing instead. |
PreviewKeyDown | Occurs before the KeyDown event when a key is pressed while focus is on this control. Inherited from Control. |
PrintExportProgress | Fires repeatedly while the TreeList’s data is being printed/exported. Inherited from TreeList. |
QueryAccessibilityHelp | Occurs when AccessibleObject is providing help to accessibility applications. Inherited from Control. |
QueryContinueDrag | Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. Inherited from Control. |
QueryCustomFunctions | Allows you to add custom function based filters (for example, ‘discount is more than 15%’) to Excel-style pop-up filter menus and/or the filter editor. Inherited from TreeList. |
RegionChanged | Occurs when the value of the Region property changes. Inherited from Control. |
RequestTimescaleRulers | Fires when the chart is zoomed in / zoomed out. Allows you to customize the timescale rulers. |
Resize | Occurs when the control is resized. Inherited from Control. |
RightToLeftChanged | Occurs when the RightToLeft property value changes. Inherited from Control. |
RowCellClick | Fires when a cell is clicked. Inherited from TreeList. |
RowClick | Fires when a row (node) is clicked. Inherited from TreeList. |
RowSelectImageClick | Fires when a row’s select image is clicked. Inherited from TreeList. |
RowStateImageClick | Fires when a row’s state image is clicked. Inherited from TreeList. |
ScrollAnnotationsStyle | Allows you to customize the scrollbar annotation color and alignment. Inherited from TreeList. |
SelectImageClick | Fires when the user clicks a node’s select image. This event is obsolete. Use RowSelectImageClick instead. Inherited from TreeList. |
SelectionChanged | Fires in response to changing selection when the TreeList is in multiselect mode. Inherited from TreeList. |
ShowCustomizationForm | Fires immediately after the Customization Form has been displayed. Inherited from TreeList. |
ShowFilterPopupCheckedListBox | Fires before a pop-up filter menu is displayed. Allows you to customize the value checklist. Inherited from TreeList. |
ShowFilterPopupDate | Allows you to customize a column’s dropdown calendar before it is displayed. Inherited from TreeList. |
ShowFilterPopupExcel | Allows you to hide specific filtering conditions from the “Filters” tab of the Excel-style Filter Dropdown. Inherited from TreeList. |
ShowFilterPopupListBox | Fires before a pop-up filter menu is displayed. Allows you to customize the value list. Inherited from TreeList. |
ShowingEditor | Fires before the TreeList is switched to edit mode. Inherited from TreeList. |
ShownEditor | Fires immediately after a cell editor has been invoked. Inherited from TreeList. |
ShowTreeListMenu | Obsolete. Allows you to customize the default menus for column headers, summary footers and nodes. Inherited from TreeList. |
SizeChanged | Occurs when the Size property value changes. Inherited from Control. |
SplitterPositionChanged | Fires after the splitter changes its position. |
SplitterPositionChanging | Fires before the splitter changes its position. Allows you to cancel the action. |
StartSorting | Fires before a sorting operation is started. Inherited from TreeList. |
StateChanged | Fires after the Tree List’s state has changed. Inherited from TreeList. |
StateImageClick | Fires when the user clicks a node’s state image. This event is obsolete. Use RowStateImageClick instead. Inherited from TreeList. |
StyleChanged | Occurs when the control style changes. Inherited from Control. |
SubstituteFilter | Allows you to replace the applied filter with another filter. Inherited from TreeList. |
SystemColorsChanged | Occurs when the system colors change. Inherited from Control. |
TabIndexChanged | Occurs when the TabIndex property value changes. Inherited from Control. |
TabStopChanged | Occurs when the TabStop property value changes. Inherited from Control. |
TaskPopupMenuShowing | Fires when a context menu for a task is about to be shown. |
TaskToolTipShowing | Fires when a tooltip for a task is about to be shown. |
TextChanged | Occurs when the Text property value changes. Inherited from Control. |
TopVisibleNodeIndexChanged | Fires when the control’s content is scrolled vertically. Inherited from TreeList. |
TreeListMenuItemClick | Provides the ability to perform custom handling of a context menu item click. Inherited from TreeList. |
TreeListPopupMenuShowing | Allows you to customize the default menus for column headers, summary footers, and nodes. |
UnboundExpressionEditorCreated | Fires after an Expression Editor has been created for an unbound column. Inherited from TreeList. |
Validated | Occurs when the control is finished validating. Inherited from Control. |
ValidateNode | Gives you the ability to specify whether a modified node’s data is valid, and if this node can lose focus. Inherited from TreeList. |
Validating | Occurs when the control is validating. Inherited from Control. |
ValidatingEditor | Fires when an editor is validated. Inherited from TreeList. |
VirtualTreeGetCellValue | This event allows you to initialize cells (and optionally the check state) of the processed node, when populating the Tree List control with data dynamically. Inherited from TreeList. |
VirtualTreeGetChildNodes | This event allows you to provide root and child nodes, when populating the Tree List control with data dynamically. Inherited from TreeList. |
VirtualTreeSetCellValue | Allows changes that are made to node cells and check state to be stored. Inherited from TreeList. |
VisibleChanged | Occurs when the Visible property value changes. Inherited from Control. |
See Also