TreeListView Events
A View that displays information in a tree hierarchical structure.
Name | Description |
---|---|
Adding |
Occurs before a new node is added to the Grid |
Before |
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 Data |
Can |
Occurs in multiple cell selection mode when a user tries to select a cell and allows you to prevent the cell selection. |
Can |
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 Data |
Can |
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. |
Can |
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 Data |
Cell |
Occurs when a cell value is changed. |
Cell |
Occurs when a user edits a cell value (for example, types or deletes a character, chooses a value from the drop-down list). |
Clipboard |
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. |
Clipboard |
Fires when an end-user pastes a cell to the Tree |
Clipboard |
Fires when an end-user pastes a node to the Tree |
Column |
Occurs when a column header is clicked.
Inherited from Data |
Complete |
Occurs when a drag-and-drop operation is completed.
Inherited from Data |
Context |
Occurs just before any context menu on the element is closed.
Inherited from Framework |
Context |
Occurs when any context menu on the element is opened.
Inherited from Framework |
Continue |
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 Data |
Copying |
Obsolete. Occurs when data is copied to the clipboard, allowing you to manually copy required data. |
Create |
Inherited from Data |
Custom |
Allows you to manually calculate the optimal width for a column |
Custom |
Allows overriding the cell’s foreground and background settings. |
Custom |
Allows you to customize a data cell‘s display text. |
Custom |
Enables you to sort data using custom rules. |
Custom |
Allows defining a custom logic of conditional formatting of the changed grid cells (rows). |
Custom |
Allows you to display custom text instead of a filter expression in the legacy Filter Panel.
Inherited from Data |
Custom |
Allows you to filter values displayed in a column Drop-down Filter. |
Custom |
Allows you to use custom rules to filter nodes. |
Custom |
Allows overriding the row’s foreground and background settings. |
Custom |
Enables you to provide custom animation played when grid data is vertically scrolled (per-pixel). |
Custom |
Enables you to calculate summary values manually. |
Custom |
Allows you to populate unbound columns with data. |
Data |
Occurs when the data context for this element changes.
Inherited from Framework |
Data |
Occurs before the data source is refreshed (a user presses F5 or executes the Refresh |
Drag |
Occurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement. |
Drag |
Occurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement. |
Drag |
Occurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement. |
Drag |
Occurs continuously while a record is dragged (moved) within the drop target’s boundary.
Inherited from Data |
Drop | Occurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement. |
Drop |
Occurs when a record is dropped on the drop target element.
Inherited from Data |
Edit |
Occurs when the Tree |
End |
Occurs after a sorting operation has been completed. |
Filter |
Fires after the embedded Filter |
Focusable |
Occurs when the value of the Focusable property changes. Inherited from UIElement. |
Focused |
Obsolete. Occurs after the focused column has been changed.
Inherited from Data |
Focused |
Obsolete. Occurs after the focused row has been changed.
Inherited from Data |
Focused |
Occurs after the focused row’s handle has been changed.
Inherited from Data |
Focused |
Occurs when the focused row handle is about to change.
Inherited from Data |
Focused |
Occurs after the active View has been changed.
Inherited from Data |
Get |
Allows you to specify whether an active editor responds to keys that a user presses.
Inherited from Data |
Get |
Allows you to specify whether an action (key down, text input, or mouse left button click) activates the focused editor.
Inherited from Data |
Give |
Occurs when the input system reports an underlying drag-and-drop event that involves this element. Inherited from UIElement. |
Give |
Occurs continuously while a drag-and-drop operation is in progress, and enables the drag source to give feedback to the user.
Inherited from Data |
Got |
Occurs when this element gets logical focus. Inherited from UIElement. |
Got |
Occurs when the keyboard is focused on this element. Inherited from UIElement. |
Got |
Occurs when this element captures the mouse. Inherited from UIElement. |
Got |
Occurs when this element captures the stylus. Inherited from UIElement. |
Got |
Occurs when a touch is captured to this element. Inherited from UIElement. |
Hidden |
Occurs after the Column Chooser has been hidden.
Inherited from Data |
Hidden |
Occurs after a cell’s editor has been closed. |
Initialized |
Occurs when this Frameworkfalse (or undefined) to true .
Inherited from Framework |
Init |
Allows you to initialize a new node with default values. |
Init |
Obsolete. Allows you to initialize a new row with default values. |
Invalid |
Occurs when a node fails validation or cannot be saved to a data source. |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Is |
Occurs when the value of the Is |
Key |
Occurs when a key is pressed while focus is on this element. Inherited from UIElement. |
Key |
Occurs when a key is released while focus is on this element. Inherited from UIElement. |
Layout |
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 Framework |
Lost |
Occurs when this element loses logical focus. Inherited from UIElement. |
Lost |
Occurs when the keyboard is no longer focused on this element. Inherited from UIElement. |
Lost |
Occurs when this element loses mouse capture. Inherited from UIElement. |
Lost |
Occurs when this element loses stylus capture. Inherited from UIElement. |
Lost |
Occurs when this element loses a touch capture. Inherited from UIElement. |
Manipulation |
Occurs when the manipulation encounters a boundary. Inherited from UIElement. |
Manipulation |
Occurs when a manipulation and inertia on the UIElement object is complete. Inherited from UIElement. |
Manipulation |
Occurs when the input device changes position during a manipulation. Inherited from UIElement. |
Manipulation |
Occurs when the input device loses contact with the UIElement object during a manipulation and inertia begins. Inherited from UIElement. |
Manipulation |
Occurs when an input device begins a manipulation on the UIElement object. Inherited from UIElement. |
Manipulation |
Occurs when the manipulation processor is first created. Inherited from UIElement. |
Mouse |
Occurs when a mouse button is clicked two or more times. Inherited from Control. |
Mouse |
Occurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement. |
Mouse |
Occurs when the mouse pointer enters the bounds of this element. Inherited from UIElement. |
Mouse |
Occurs when the mouse pointer leaves the bounds of this element. Inherited from UIElement. |
Mouse |
Occurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement. |
Mouse |
Occurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement. |
Mouse |
Occurs when the mouse pointer moves while over this element. Inherited from UIElement. |
Mouse |
Occurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement. |
Mouse |
Occurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement. |
Mouse |
Occurs when any mouse button is released over this element. Inherited from UIElement. |
Mouse |
Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement. |
Node |
Occurs when the changes made in a node are discarded. |
Node |
Occurs when a node’s property changes. |
Node |
Occurs when a node’s check box has changed its value. |
Node |
Occurs after a node has been collapsed. |
Node |
Occurs before a node is collapsed and allowing the action to be canceled. |
Node |
Occurs when a user finished the edit operation in a node. |
Node |
Occurs when a user edits a node. |
Node |
Occurs when a user starts to edit a node. |
Node |
Occurs after a node has been expanded. |
Node |
Occurs before a node is expanded. |
Node |
Occurs when the Grid |
Pasting |
Obsolete. Occurs when some information is pasted from the clipboard to the grid.
Inherited from Data |
Preview |
Occurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement. |
Preview |
Occurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement. |
Preview |
Occurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement. |
Preview |
Occurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement. |
Preview |
Occurs when a drag-and-drop operation is started. Inherited from UIElement. |
Preview |
Occurs when the keyboard is focused on this element. Inherited from UIElement. |
Preview |
Occurs when a key is pressed while focus is on this element. Inherited from UIElement. |
Preview |
Occurs when a key is released while focus is on this element. Inherited from UIElement. |
Preview |
Occurs when the keyboard is no longer focused on this element. Inherited from UIElement. |
Preview |
Occurs when a user clicks the mouse button two or more times. Inherited from Control. |
Preview |
Occurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when the mouse pointer moves while the mouse pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when any mouse button is released while the mouse pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement. |
Preview |
Occurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when the stylus button is released while the pointer is over this element. Inherited from UIElement. |
Preview |
Occurs when the stylus touches the digitizer while it is over this element. Inherited from UIElement. |
Preview |
Occurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement. |
Preview |
Occurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement. |
Preview |
Occurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, Preview |
Preview |
Occurs when the stylus is too far from the digitizer to be detected. Inherited from UIElement. |
Preview |
Occurs when a user performs one of several stylus gestures. Inherited from UIElement. |
Preview |
Occurs when the user raises the stylus off the digitizer while the stylus is over this element. Inherited from UIElement. |
Preview |
Occurs when this element gets text in a device-independent manner. Inherited from UIElement. |
Preview |
Occurs when a finger touches the screen while the finger is over this element. Inherited from UIElement. |
Preview |
Occurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement. |
Preview |
Occurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement. |
Process |
Allows you to specify whether the focused editor should process an activation action.
Inherited from Data |
Property |
Occurs every time the Data |
Query |
Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement. |
Query |
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. |
Request |
Occurs when Bring |
Row |
Enables you to provide a custom animation effect after row data has been asynchronously retrieved from a data source.
Inherited from Data |
Row |
Occurs when a user double-clicks a node. |
Scroll |
Allows creating a set of predefined scrollbar annotations. |
Scroll |
Allows creating a new scrollbar annotation based on data row values and a row handle. |
Search |
Occurs each time the Grid |
Selection |
Obsolete. Occurs after treelist’s selection has been changed. |
Show |
Allows you to customize a column’s drop-down filter.
Inherited from Data |
Show |
Enables you to customize the context menu.
Inherited from Data |
Showing |
Enables you to prevent an end-user from activating editors of individual cells. |
Showing |
Fires for each parent node before showing its node footer. |
Shown |
Occurs after the Column Chooser has been shown.
Inherited from Data |
Shown |
Occurs after the focused cell’s editor has been shown. |
Size |
Occurs when either the Actual |
Source |
Occurs when the source value changes for any existing property binding on this element.
Inherited from Framework |
Start |
This event occurs when a drag-and-drop operation is started.
Inherited from Data |
Start |
Occurs before a sorting operation is started. |
Stylus |
Occurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement. |
Stylus |
Occurs when the stylus button is released while the pointer is over this element. Inherited from UIElement. |
Stylus |
Occurs when the stylus touches the digitizer while the stylus is over this element. Inherited from UIElement. |
Stylus |
Occurs when the stylus enters the bounds of this element. Inherited from UIElement. |
Stylus |
Occurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement. |
Stylus |
Occurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement. |
Stylus |
Occurs when the stylus leaves the bounds of the element. Inherited from UIElement. |
Stylus |
Occurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, Stylus |
Stylus |
Occurs when the stylus is too far from the digitizer to be detected, while over this element. Inherited from UIElement. |
Stylus |
Occurs when a user performs one of several stylus gestures. Inherited from UIElement. |
Stylus |
Occurs when the user raises the stylus off the digitizer while it is over this element. Inherited from UIElement. |
Substitute |
Allows you to replace the applied filter with another filter. |
Target |
Occurs when the target value changes for any property binding on this element.
Inherited from Framework |
Text |
Occurs when this element gets text in a device-independent manner. Inherited from UIElement. |
Tool |
Occurs just before any tooltip on the element is closed.
Inherited from Framework |
Tool |
Occurs when any tooltip on the element is opened.
Inherited from Framework |
Touch |
Occurs when a finger touches the screen while the finger is over this element. Inherited from UIElement. |
Touch |
Occurs when a touch moves from outside to inside the bounds of this element. Inherited from UIElement. |
Touch |
Occurs when a touch moves from inside to outside the bounds of this element. Inherited from UIElement. |
Touch |
Occurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement. |
Touch |
Occurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement. |
Unbound |
Fires after the Expression Editor has been invoked for an unbound column.
Inherited from Data |
Unloaded |
Occurs when the element is removed from within an element tree of loaded elements.
Inherited from Framework |
Validate |
Allows you to validate the focused cell’s data. |
Validate |
Allows you to validate node values. |
Validate |
Allows you to validate nodes, check database constraints, and delete nodes from the database before a user deletes a node from the Data Grid. |
See Also