DiagramControl Events
Provides a canvas where you or your end-users can display, create and edit various diagrams.
Name | Description |
---|---|
Active |
Fires each time the Active |
Adding |
Fires each time a new item is added to the diagram by the end-user (e. |
Before |
Fires each time the end-user attempts to move a diagram item. |
Before |
Raises each time the end-user attempts to resize a diagram item. |
Before |
Raises each time the end-user attempts to rotate a diagram item. |
Canvas |
Occurs when the size of the Canvas is changed. |
Closed |
Fires after the end-user closes the diagram item’s text editor. |
Connection |
Occurs after the connection has been changed by a user. |
Connection |
Occurs when the connection is about to be changed by the end-user. |
Container |
Occurs when the container’s collapsed state has been changed. |
Container |
Occurs when the container’s collapsed state is being changed. |
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 |
Custom |
Occurs when the mouse cursor enters the diagram control. |
Custom |
Allows you to modify the list of diagram item properties that can be edited by end-users in the Properties Panel. |
Custom |
Allows you to update the set of properties displayed by the property grid. |
Custom |
Allows you to modify the list of serializable properties of diagram items. |
Custom |
Occurs when an end-user starts dragging a diagram item. |
Custom |
Occurs before a drag and drop operation is completed. |
Custom |
Occurs while diagram items are dragged. |
Custom |
Occurs during a drag-and-drop operation. |
Custom |
Fires after an end-user selects a document in the ‘Open File’ dialog or a document is loaded by setting the Diagram |
Custom |
Fires after an end-user selects a file in the ‘Insert Picture’ dialog. |
Custom |
Fires when the diagram is about to be saved (when an end-user uses Save actions in the Diagram’s Ribbon menu, or when the Diagram |
Data |
Occurs when the data context for this element changes.
Inherited from Framework |
Deleting |
Fires when the end-user removes items from the diagram canvas. Obsoleted. Use the Diagram |
Document |
Occurs after a document is loaded into the Diagram |
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. |
Drop | Occurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement. |
Exception |
Allows you to handle exceptions that may raise during various actions on the Diagram Control. |
Focusable |
Occurs when the value of the Focusable property changes. Inherited from UIElement. |
Give |
Occurs when the input system reports an underlying drag-and-drop event that involves this element. Inherited from UIElement. |
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. |
Initialized |
Occurs when this Frameworkfalse (or undefined) to true .
Inherited from Framework |
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 |
Item |
Fires each time an item’s bounds are changed. |
Item |
Fires each time the end-user changes the item’s text. |
Item |
Occurs before a diagram item is added to the canvas. |
Item |
Fires repeatedly as the end-user is drawing a shape using a drawing tool (Rectangle, Ellipse, Right Triangle or Hexagon). |
Item |
Fires each time an item is created via the DevExpress. |
Items |
Fires each time an item is added or removed from the diagram. |
Items |
Fires each time diagram items have been removed from the canvas. |
Items |
Fires as the end-user is moving diagram items. |
Items |
Fires as the end-user pastes the diagram items from the clipboard onto the canvas. |
Items |
Fires when a diagram item is resized by the end-user or programmatically. |
Items |
Fires when the end-user attempts to rotate a diagram item. |
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. |
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. |
Query |
Fires each time the end-user moves the cursor with the active Connector Tool near shapes or their connection points. |
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. |
Query |
Fires repeatedly as the end-user hovers over the diagram canvas while a drawing tool (Rectangle, Ellipse, Right Triangle or Hexagon) is selected. |
Query |
Fires each time the end-user attempts to initiate text editing to edit the text within a diagram item. |
Query |
Fires each time the Diagram |
Query |
Fires repeatedly as the end-user triggers snapping while dragging or resizing a diagram shape. |
Relayout |
Occurs immediately after an Automatic Layout algorithm is completed. |
Request |
Occurs when Bring |
Selection |
Fires when the selection changes (new items are selected, or currently selected items are deselected). |
Showing |
Enables you to prevent an end-user from activating the editors of individual diagram items. |
Showing |
|
Showing |
Fires before showing an ‘Open File’ dialog, and allows it to be customized. |
Showing |
Fires before showing an ‘Insert Picture’ dialog, and allows it to be customized. |
Showing |
Fires before showing a ‘Save File As’ dialog, and allows it to be customized. |
Size |
Occurs when either the Actual |
Source |
Occurs when the source value changes for any existing property binding on this element.
Inherited from Framework |
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. |
Subordinates |
Occurs after the subordinates of a diagram shape are hidden. |
Subordinates |
Occurs before a Diagram |
Subordinates |
Occurs before a Diagram |
Subordinates |
Occurs after a Diagram |
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. |
Unloaded |
Occurs when the element is removed from within an element tree of loaded elements.
Inherited from Framework |
Zoom |
Raises each time the current diagram zoom factor is changed. |
See Also