Skip to main content

GanttView Events

Visualizes the GanttControl data.
Name Description
AddingNewNode Occurs before a new node is added to the GridControl and allows you to initialize the new record. Inherited from TreeListView.
AddingNewPredecessorLink Occurs before creating a new link and allows you to change the newly creating link.
AddingNewResourceLink Occurs before the GanttControl creates a resource link. This event allows you to change this link.
BeforeLayoutRefresh Enables you to lock down end-user capabilities that affect the onscreen position of the focused row (moving row focus, row scrolling, filtering, sorting, etc.). Inherited from DataViewBase.
BeginNewTaskDraw Occurs when an end user starts drawing a new task (on MouseDown) and allows you to change the created task’s start date. This is a routed event.
BeginPredecessorLinkEdit Occurs when an end user starts editing or creating a task connector (on MouseDown) on the Gantt area. This is a routed event.
BeginProgressMove Occurs when an end user starts editing a task’s progress (on MouseDown) in the Gantt area. This is a routed event.
BeginTaskFinishDateMove Occurs when an end user starts editing task duration by dragging the task’s finish date (on MouseDown) in the Gantt area. This is a routed event.
BeginTaskMove Occurs when an end user starts editing task start date by dragging the task (on MouseDown) in the Gantt area. This is a routed event.
CalculateSummaryTaskBounds Occurs when the summary task or one of its children is scheduled and allows you to calculate summary task’s start and finish dates with custom logic. This is a routed event.
CalculateSummaryTaskProgress Occurs when the summary task or one of its children is scheduled and allows you to calculate summary task progress with custom logic. This is a routed event.
CanSelectCell Occurs in multiple cell selection mode when a user tries to select a cell and allows you to prevent the cell selection. Inherited from TreeListView.
CanSelectRow Occurs in multiple row select mode when an end-user tries to select a grid row (node) and allows you to prevent selecting a particular row (node). Inherited from DataViewBase.
CanUnselectCell Occurs in multiple cell selection mode when a user tries to unselect a cell and allows you to prevent this operation for a particular cell. Inherited from TreeListView.
CanUnselectRow Occurs in multiple row select mode when an end-user tries to unselect a grid row (node) and allows you to prevent unselecting a particular row (node). Inherited from DataViewBase.
CellValueChanged Occurs when a cell value is changed. Inherited from TreeListView.
CellValueChanging Occurs when a user edits a cell value (for example, types or deletes a character, chooses a value from the drop-down list). Inherited from TreeListView.
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 TreeListView.
ClipboardRowCellValuePasting Fires when an end-user pastes a cell to the TreeListView and allows you to process the pasted data. Inherited from TreeListView.
ClipboardRowPasting Fires when an end-user pastes a node to the TreeListView and allows you to process the pasted data. Inherited from TreeListView.
ColumnHeaderClick Occurs when a column header is clicked. Inherited from DataViewBase.
CompleteRecordDragDrop Occurs when a drag-and-drop operation is completed. Inherited from DataViewBase.
ContextMenuClosing Occurs just before any context menu on the element is closed. Inherited from FrameworkElement.
ContextMenuOpening Occurs when any context menu on the element is opened. Inherited from FrameworkElement.
ContinueRecordDrag Occurs when there is a change in the keyboard or mouse button states during a drag-and-drop operation, and enables the drop source to cancel the drag-and-drop operation depending on the key/button states. Inherited from DataViewBase.
CopyingToClipboard Obsolete. Occurs when data is copied to the clipboard, allowing you to manually copy required data. Inherited from TreeListView.
CreateRootNodeCompleted Inherited from DataViewBase.
CustomBestFit Allows you to manually calculate the optimal width for a column(s). Inherited from TreeListView.
CustomCellAppearance Allows overriding the cell’s foreground and background settings. Inherited from TreeListView.
CustomColumnDisplayText Allows you to customize a data cell‘s display text. Inherited from TreeListView.
CustomColumnSort Enables you to sort data using custom rules. Inherited from TreeListView.
CustomDataUpdateFormatCondition Allows defining a custom logic of conditional formatting of the changed grid cells (rows). Inherited from TreeListView.
CustomFilterDisplayText Allows you to display custom text instead of a filter expression in the legacy Filter Panel. Inherited from DataViewBase.
CustomFilterPopupList Allows you to filter values displayed in a column Drop-down Filter. Inherited from TreeListView.
CustomNodeFilter Allows you to use custom rules to filter nodes. Inherited from TreeListView.
CustomRowAppearance Allows overriding the row’s foreground and background settings. Inherited from TreeListView.
CustomScrollAnimation Enables you to provide custom animation played when grid data is vertically scrolled (per-pixel). Inherited from TreeListView.
CustomSummary Enables you to calculate summary values manually. Inherited from TreeListView.
CustomUnboundColumnData Allows you to populate unbound columns with data. Inherited from TreeListView.
DataContextChanged Occurs when the data context for this element changes. Inherited from FrameworkElement.
DataSourceRefresh Occurs before the data source is refreshed (a user presses F5 or executes the RefreshDataSource command) and allows you to implement custom refresh logic. Inherited from DataViewBase.
DragEnter Occurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
DragLeave Occurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
DragOver Occurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
DragRecordOver Occurs continuously while a record is dragged (moved) within the drop target’s boundary. Inherited from DataViewBase.
Drop Occurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
DropRecord Occurs when a record is dropped on the drop target element. Inherited from DataViewBase.
EditFormShowing Occurs when the TreeListView is about to display the Edit Form. Inherited from TreeListView.
EndSorting Occurs after a sorting operation has been completed. Inherited from TreeListView.
FilterEditorCreated Fires after the embedded FilterControl has been created. This event is not fired for the new FilterEditorControl. Inherited from DataViewBase.
FocusableChanged Occurs when the value of the Focusable property changes. Inherited from UIElement.
FocusedColumnChanged Obsolete. Occurs after the focused column has been changed. Inherited from DataViewBase.
FocusedRowChanged Obsolete. Occurs after the focused row has been changed. Inherited from DataViewBase.
FocusedRowHandleChanged Occurs after the focused row’s handle has been changed. Inherited from DataViewBase.
FocusedRowHandleChanging Occurs when the focused row handle is about to change. Inherited from DataViewBase.
FocusedViewChanged Occurs after the active View has been changed. Inherited from DataViewBase.
GetActiveEditorNeedsKey Allows you to specify whether an active editor responds to keys that a user presses. Inherited from DataViewBase.
GetIsEditorActivationAction Allows you to specify whether an action (key down, text input, or mouse left button click) activates the focused editor. Inherited from DataViewBase.
GiveFeedback Occurs when the input system reports an underlying drag-and-drop event that involves this element. Inherited from UIElement.
GiveRecordDragFeedback Occurs continuously while a drag-and-drop operation is in progress, and enables the drag source to give feedback to the user. Inherited from DataViewBase.
GotFocus Occurs when this element gets logical focus. Inherited from UIElement.
GotKeyboardFocus Occurs when the keyboard is focused on this element. Inherited from UIElement.
GotMouseCapture Occurs when this element captures the mouse. Inherited from UIElement.
GotStylusCapture Occurs when this element captures the stylus. Inherited from UIElement.
GotTouchCapture Occurs when a touch is captured to this element. Inherited from UIElement.
HiddenColumnChooser Occurs after the Column Chooser has been hidden. Inherited from DataViewBase.
HiddenEditor Occurs after a cell’s editor has been closed. Inherited from TreeListView.
Initialized Occurs when this FrameworkElement is initialized. This event coincides with cases where the value of the IsInitialized property changes from false (or undefined) to true. Inherited from FrameworkElement.
InitNewNode Allows you to initialize a new node with default values. Inherited from TreeListView.
InitNewRow Obsolete. Allows you to initialize a new row with default values. Inherited from TreeListView.
InvalidNodeException Occurs when a node fails validation or cannot be saved to a data source. Inherited from TreeListView.
IsEnabledChanged Occurs when the value of the IsEnabled property on this element changes. Inherited from UIElement.
IsHitTestVisibleChanged Occurs when the value of the IsHitTestVisible dependency property changes on this element. Inherited from UIElement.
IsKeyboardFocusedChanged Occurs when the value of the IsKeyboardFocused property changes on this element. Inherited from UIElement.
IsKeyboardFocusWithinChanged Occurs when the value of the IsKeyboardFocusWithin property changes on this element. Inherited from UIElement.
IsMouseCapturedChanged Occurs when the value of the IsMouseCaptured property changes on this element. Inherited from UIElement.
IsMouseCaptureWithinChanged Occurs when the value of the IsMouseCaptureWithinProperty changes on this element. Inherited from UIElement.
IsMouseDirectlyOverChanged Occurs when the value of the IsMouseDirectlyOver property changes on this element. Inherited from UIElement.
IsStylusCapturedChanged Occurs when the value of the IsStylusCaptured property changes on this element. Inherited from UIElement.
IsStylusCaptureWithinChanged Occurs when the value of the IsStylusCaptureWithin property changes on this element. Inherited from UIElement.
IsStylusDirectlyOverChanged Occurs when the value of the IsStylusDirectlyOver property changes on this element. Inherited from UIElement.
IsVisibleChanged Occurs when the value of the IsVisible property changes on this element. Inherited from UIElement.
KeyDown Occurs when a key is pressed while focus is on this element. Inherited from UIElement.
KeyUp Occurs when a key is released while focus is on this element. Inherited from UIElement.
LayoutUpdated Occurs when the layout of the various visual elements associated with the current Dispatcher changes. Inherited from UIElement.
Loaded Occurs when the element is laid out, rendered, and ready for interaction. Inherited from FrameworkElement.
LostFocus Occurs when this element loses logical focus. Inherited from UIElement.
LostKeyboardFocus Occurs when the keyboard is no longer focused on this element. Inherited from UIElement.
LostMouseCapture Occurs when this element loses mouse capture. Inherited from UIElement.
LostStylusCapture Occurs when this element loses stylus capture. Inherited from UIElement.
LostTouchCapture Occurs when this element loses a touch capture. Inherited from UIElement.
ManipulationBoundaryFeedback Occurs when the manipulation encounters a boundary. Inherited from UIElement.
ManipulationCompleted Occurs when a manipulation and inertia on the UIElement object is complete. Inherited from UIElement.
ManipulationDelta Occurs when the input device changes position during a manipulation. Inherited from UIElement.
ManipulationInertiaStarting Occurs when the input device loses contact with the UIElement object during a manipulation and inertia begins. Inherited from UIElement.
ManipulationStarted Occurs when an input device begins a manipulation on the UIElement object. Inherited from UIElement.
ManipulationStarting Occurs when the manipulation processor is first created. Inherited from UIElement.
MouseDoubleClick Occurs when a mouse button is clicked two or more times. Inherited from Control.
MouseDown Occurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
MouseEnter Occurs when the mouse pointer enters the bounds of this element. Inherited from UIElement.
MouseLeave Occurs when the mouse pointer leaves the bounds of this element. Inherited from UIElement.
MouseLeftButtonDown Occurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseLeftButtonUp Occurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseMove Occurs when the mouse pointer moves while over this element. Inherited from UIElement.
MouseRightButtonDown Occurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseRightButtonUp Occurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseUp Occurs when any mouse button is released over this element. Inherited from UIElement.
MouseWheel Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
NewTaskDrawCanceled Occurs when an end user cancels drawing a new task. This is a routed event.
NewTaskDrawing Occurs when an end user draws a new task in the Gantt area’s new item row (on MouseMove) and allows you to change the newly created task’s finish date. This is a routed event.
NewTaskDrawn Occurs when an end user has drawn a new task (on MouseUp) in the Gantt area and allows you to change the newly drawn task’s end date or cancel adding a new task. This is a routed event.
NodeCanceled Occurs when the changes made in a node are discarded. Inherited from TreeListView.
NodeChanged Occurs when a node’s property changes. Inherited from TreeListView.
NodeCheckStateChanged Occurs when a node’s check box has changed its value. Inherited from TreeListView.
NodeCollapsed Occurs after a node has been collapsed. Inherited from TreeListView.
NodeCollapsing Occurs before a node is collapsed and allowing the action to be canceled. Inherited from TreeListView.
NodeEditFinished Occurs when a user finished the edit operation in a node. Inherited from TreeListView.
NodeEditStarted Occurs when a user edits a node. Inherited from TreeListView.
NodeEditStarting Occurs when a user starts to edit a node. Inherited from TreeListView.
NodeExpanded Occurs after a node has been expanded. Inherited from TreeListView.
NodeExpanding Occurs before a node is expanded. Inherited from TreeListView.
NodeUpdated Occurs when the GridControl updates the data source with the changes made within the focused node. Inherited from TreeListView.
PastingFromClipboard Obsolete. Occurs when some information is pasted from the clipboard to the grid. Inherited from DataViewBase.
PredecessorLinkEditCanceled Occurs when the connector editing was canceled. This is a routed event.
PredecessorLinkEdited Occurs when an end user has finished editing a predecessor link (connector), and allows you to cancel the link editing. This is a routed event.
PreviewDragEnter Occurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
PreviewDragLeave Occurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
PreviewDragOver Occurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
PreviewDrop Occurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
PreviewGiveFeedback Occurs when a drag-and-drop operation is started. Inherited from UIElement.
PreviewGotKeyboardFocus Occurs when the keyboard is focused on this element. Inherited from UIElement.
PreviewKeyDown Occurs when a key is pressed while focus is on this element. Inherited from UIElement.
PreviewKeyUp Occurs when a key is released while focus is on this element. Inherited from UIElement.
PreviewLostKeyboardFocus Occurs when the keyboard is no longer focused on this element. Inherited from UIElement.
PreviewMouseDoubleClick Occurs when a user clicks the mouse button two or more times. Inherited from Control.
PreviewMouseDown Occurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonDown Occurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonUp Occurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseMove Occurs when the mouse pointer moves while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonDown Occurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonUp Occurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseUp Occurs when any mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseWheel Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
PreviewQueryContinueDrag Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
PreviewStylusButtonDown Occurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewStylusButtonUp Occurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
PreviewStylusDown Occurs when the stylus touches the digitizer while it is over this element. Inherited from UIElement.
PreviewStylusInAirMove Occurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
PreviewStylusInRange Occurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
PreviewStylusMove Occurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead. Inherited from UIElement.
PreviewStylusOutOfRange Occurs when the stylus is too far from the digitizer to be detected. Inherited from UIElement.
PreviewStylusSystemGesture Occurs when a user performs one of several stylus gestures. Inherited from UIElement.
PreviewStylusUp Occurs when the user raises the stylus off the digitizer while the stylus is over this element. Inherited from UIElement.
PreviewTextInput Occurs when this element gets text in a device-independent manner. Inherited from UIElement.
PreviewTouchDown Occurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchMove Occurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchUp Occurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
ProcessEditorActivationAction Allows you to specify whether the focused editor should process an activation action. Inherited from DataViewBase.
ProgressMoveCanceled Occurs when the progress editing was canceled. This is a routed event.
ProgressMoved Occurs when an end user has edited a task progress (on MouseUp) and allows you to change the edited progress or cancel the changes. This is a routed event.
ProgressMoving Occurs when an end user moves the mouse during task progress editing and allows you to change the progress selected by an end user. This is a routed event.
PropertyChanged Occurs every time the DataViewBase.FocusedView property has changed its value. Inherited from DataViewBase.
QueryAllowedTaskEditAction Occurs when an end user moves the mouse to a Gantt node (on MouseEnter) and allows you to display available interactive editing actions. This is a routed event.
QueryAllowPredecessorEdit Occurs when an end user edits a task’s successor and moves a connector over a new successor and allows you to display available interactive editing actions. This is a routed event.
QueryAllowPredecessorLinkEdit Occurs when an end user moves the mouse over a connector (on MouseEnter) and allows you to display available interactive editing actions. This is a routed event.
QueryAllowScheduleTask Occurs on scheduling for each affected node and allows you to control the scheduling mechanism for each particular task. This is a routed event.
QueryContinueDrag Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
QueryCursor Occurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position. Inherited from UIElement.
QueryKeepTasksLinked Occurs each time the task hierarchy and order is changed and allows you to keep two tasks linked even if they organize a cyclic task connection or a child task links to its summary task. This is a routed event.
RequestBringIntoView Occurs when BringIntoView(Rect) is called on this element. Inherited from FrameworkElement.
RequestTimescaleRulers Occurs when timescale rulers are visually changed and allows you to edit timescale rulers. This is a routed event.
RowAnimationBegin Enables you to provide a custom animation effect after row data has been asynchronously retrieved from a data source. Inherited from DataViewBase.
RowDoubleClick Occurs when a user double-clicks a node. Inherited from TreeListView.
ScrollBarAnnotationsCreating Allows creating a set of predefined scrollbar annotations. Inherited from TreeListView.
ScrollBarCustomRowAnnotation Allows creating a new scrollbar annotation based on data row values and a row handle. Inherited from TreeListView.
SearchStringToFilterCriteria Occurs each time the GridControl starts to search data and allows you to convert the search string to filter criteria. Inherited from DataViewBase.
SelectionChanged Obsolete. Occurs after treelist’s selection has been changed. Inherited from TreeListView.
ShowFilterPopup Allows you to customize a column’s drop-down filter. Inherited from DataViewBase.
ShowGridMenu Enables you to customize the context menu. Inherited from DataViewBase.
ShowingEditor Enables you to prevent an end-user from activating editors of individual cells. Inherited from TreeListView.
ShowingNodeFooter Fires for each parent node before showing its node footer. Inherited from TreeListView.
ShownColumnChooser Occurs after the Column Chooser has been shown. Inherited from DataViewBase.
ShownEditor Occurs after the focused cell’s editor has been shown. Inherited from TreeListView.
SizeChanged Occurs when either the ActualHeight or the ActualWidth properties change value on this element. Inherited from FrameworkElement.
SourceUpdated Occurs when the source value changes for any existing property binding on this element. Inherited from FrameworkElement.
StartRecordDrag This event occurs when a drag-and-drop operation is started. Inherited from DataViewBase.
StartSorting Occurs before a sorting operation is started. Inherited from TreeListView.
StylusButtonDown Occurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
StylusButtonUp Occurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
StylusDown Occurs when the stylus touches the digitizer while the stylus is over this element. Inherited from UIElement.
StylusEnter Occurs when the stylus enters the bounds of this element. Inherited from UIElement.
StylusInAirMove Occurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
StylusInRange Occurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
StylusLeave Occurs when the stylus leaves the bounds of the element. Inherited from UIElement.
StylusMove Occurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, StylusInAirMove is raised instead. Inherited from UIElement.
StylusOutOfRange Occurs when the stylus is too far from the digitizer to be detected, while over this element. Inherited from UIElement.
StylusSystemGesture Occurs when a user performs one of several stylus gestures. Inherited from UIElement.
StylusUp Occurs when the user raises the stylus off the digitizer while it is over this element. Inherited from UIElement.
SubstituteFilter Allows you to replace the applied filter with another filter. Inherited from TreeListView.
TargetUpdated Occurs when the target value changes for any property binding on this element. Inherited from FrameworkElement.
TaskFinishDateMoveCanceled Occurs when an end user has canceled editing the task’s finish date in the Gantt area. This is a routed event.
TaskFinishDateMoved Occurs when an end user has changed a task’s finish date (on MouseUp) in the Gantt area and allows you to cancel the changes. This is a routed event.
TaskFinishDateMoving Occurs when an end user edits the task finish date (on MouseMove) in the Gantt area. This is a routed event.
TaskMoveCanceled Occurs when an end user has canceled editing the task’s start date in the Gantt area. This is a routed event.
TaskMoved Occurs when an end user has stopped moving a task and released the mouse button (on MouseUp) and allows you to cancel the changes. This is a routed event.
TaskMoving Occurs when an end user moves a task to edit the the task’s start date (on MouseMove) and allows you to change the start date selected by an end user. This is a routed event.
TasksScheduled Occurs after Gantt tasks have been rescheduled and allows you to rollback the latest edit changes.
TextInput Occurs when this element gets text in a device-independent manner. Inherited from UIElement.
ToolTipClosing Occurs just before any tooltip on the element is closed. Inherited from FrameworkElement.
ToolTipOpening Occurs when any tooltip on the element is opened. Inherited from FrameworkElement.
TouchDown Occurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
TouchEnter Occurs when a touch moves from outside to inside the bounds of this element. Inherited from UIElement.
TouchLeave Occurs when a touch moves from inside to outside the bounds of this element. Inherited from UIElement.
TouchMove Occurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
TouchUp Occurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
UnboundExpressionEditorCreated Fires after the Expression Editor has been invoked for an unbound column. Inherited from DataViewBase.
Unloaded Occurs when the element is removed from within an element tree of loaded elements. Inherited from FrameworkElement.
ValidateCell Allows you to validate the focused cell’s data. Inherited from TreeListView.
ValidateNode Allows you to validate node values. Inherited from TreeListView.
ValidateNodeDeletion Allows you to validate nodes, check database constraints, and delete nodes from the database before a user deletes a node from the Data Grid. Inherited from TreeListView.
See Also