Back to Devexpress

DiagramDesignerControl Events

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramdesignercontrol-dot-underscore-events.md

latest51.5 KB
Original Source

DiagramDesignerControl Events

The Diagram Designer control.

NameDescription
ActiveToolChangedFires each time the ActiveTool property changes the value. Inherited from DiagramControl.
AddingNewItemFires each time a new item is added to the diagram by the end-user (e.g., dropped from the toolbox, drawn using a tool). Inherited from DiagramControl.
BeforeItemsMovingFires each time the user attempts to move a diagram item. Inherited from DiagramControl.
BeforeItemsResizingRaises each time the end-user attempts to resize a diagram item. Inherited from DiagramControl.
BeforeItemsRotatingRaises each time the end-user attempts to rotate a diagram item. Inherited from DiagramControl.
CanvasBoundsChangedOccurs when the size of the Canvas is changed. Inherited from DiagramControl.
ClosedEditorFires after the end-user closes the diagram item’s text editor. Inherited from DiagramControl.
ConnectionChangedOccurs after the connection has been changed by a user. Inherited from DiagramControl.
ConnectionChangingOccurs when the connection is about to be changed by the end-user. Inherited from DiagramControl.
ContainerIsCollapsedChangedOccurs when the container’s collapsed state has been changed. Inherited from DiagramControl.
ContainerIsCollapsedChangingOccurs when the container’s collapsed state is being changed. Inherited from DiagramControl.
ContextMenuClosingOccurs just before any context menu on the element is closed. Inherited from FrameworkElement.
ContextMenuOpeningOccurs when any context menu on the element is opened. Inherited from FrameworkElement.
CustomCursorOccurs when the mouse cursor enters the diagram control. Inherited from DiagramControl.
CustomGetEditableItemPropertiesAllows you to modify the list of diagram item properties that can be edited by end-users in the Properties Panel. Inherited from DiagramControl.
CustomGetEditableItemPropertiesCacheKeyAllows you to update the set of properties displayed by the property grid. Inherited from DiagramControl.
CustomGetSerializableItemPropertiesAllows you to modify the list of serializable properties of diagram items. Inherited from DiagramControl.
CustomItemDragOccurs when an end-user starts dragging a diagram item. Inherited from DiagramControl.
CustomItemDragResultOccurs before a drag and drop operation is completed. Inherited from DiagramControl.
CustomItemGiveFeedbackOccurs while diagram items are dragged. Inherited from DiagramControl.
CustomItemQueryContinueDragOccurs during a drag-and-drop operation. Inherited from DiagramControl.
CustomLoadDocumentFires after an end-user selects a document in the ‘Open File’ dialog or a document is loaded by setting the DiagramControl.DocumentSource property in code. Inherited from DiagramControl.
CustomLoadImageFires after an end-user selects a file in the ‘Insert Picture’ dialog. Inherited from DiagramControl.
CustomSaveDocumentFires when the diagram is about to be saved (when an end-user uses Save actions in the Diagram’s Ribbon menu, or when the DiagramControl.SaveFile/DiagramControl.SaveFileAs method is called). The event allows you to implement custom saving logic. Inherited from DiagramControl.
DataContextChangedOccurs when the data context for this element changes. Inherited from FrameworkElement.
DeletingItemsFires when the end-user removes items from the diagram canvas. Obsoleted. Use the DiagramControl.ItemsDeleting event instead. Inherited from DiagramControl.
DocumentLoadedOccurs after a document is loaded into the DiagramControl. Inherited from DiagramControl.
DragEnterOccurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
DragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
DragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
DropOccurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
ExceptionMessageAllows you to handle exceptions that may raise during various actions on the Diagram Control. Inherited from DiagramControl.
FocusableChangedOccurs when the value of the Focusable property changes. Inherited from UIElement.
GiveFeedbackOccurs when the input system reports an underlying drag-and-drop event that involves this element. Inherited from UIElement.
GotFocusOccurs when this element gets logical focus. Inherited from UIElement.
GotKeyboardFocusOccurs when the keyboard is focused on this element. Inherited from UIElement.
GotMouseCaptureOccurs when this element captures the mouse. Inherited from UIElement.
GotStylusCaptureOccurs when this element captures the stylus. Inherited from UIElement.
GotTouchCaptureOccurs when a touch is captured to this element. Inherited from UIElement.
InitializedOccurs 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.
IsEnabledChangedOccurs when the value of the IsEnabled property on this element changes. Inherited from UIElement.
IsHitTestVisibleChangedOccurs when the value of the IsHitTestVisible dependency property changes on this element. Inherited from UIElement.
IsKeyboardFocusedChangedOccurs when the value of the IsKeyboardFocused property changes on this element. Inherited from UIElement.
IsKeyboardFocusWithinChangedOccurs when the value of the IsKeyboardFocusWithin property changes on this element. Inherited from UIElement.
IsMouseCapturedChangedOccurs when the value of the IsMouseCaptured property changes on this element. Inherited from UIElement.
IsMouseCaptureWithinChangedOccurs when the value of the IsMouseCaptureWithinProperty changes on this element. Inherited from UIElement.
IsMouseDirectlyOverChangedOccurs when the value of the IsMouseDirectlyOver property changes on this element. Inherited from UIElement.
IsStylusCapturedChangedOccurs when the value of the IsStylusCaptured property changes on this element. Inherited from UIElement.
IsStylusCaptureWithinChangedOccurs when the value of the IsStylusCaptureWithin property changes on this element. Inherited from UIElement.
IsStylusDirectlyOverChangedOccurs when the value of the IsStylusDirectlyOver property changes on this element. Inherited from UIElement.
IsVisibleChangedOccurs when the value of the IsVisible property changes on this element. Inherited from UIElement.
ItemBoundsChangedFires each time an item’s bounds are changed. Inherited from DiagramControl.
ItemContentChangedFires each time the end-user changes the item’s text. Inherited from DiagramControl.
ItemCreatingOccurs before a diagram item is added to the canvas. Inherited from DiagramControl.
ItemDrawingFires repeatedly as the end-user is drawing a shape using a drawing tool (Rectangle, Ellipse, Right Triangle or Hexagon). Inherited from DiagramControl.
ItemInitializingFires each time an item is created via the DevExpress.Diagram.Core.ItemTool. Inherited from DiagramControl.
ItemsChangedFires each time an item is added or removed from the diagram. Inherited from DiagramControl.
ItemsDeletingFires each time diagram items have been removed from the canvas. Inherited from DiagramControl.
ItemsMovingFires as the end-user is moving diagram items. Inherited from DiagramControl.
ItemsPastingFires as the end-user pastes the diagram items from the clipboard onto the canvas. Inherited from DiagramControl.
ItemsResizingFires when a diagram item is resized by the end-user or programmatically. Inherited from DiagramControl.
ItemsRotatingFires when the end-user attempts to rotate a diagram item. Inherited from DiagramControl.
KeyDownOccurs when a key is pressed while focus is on this element. Inherited from UIElement.
KeyUpOccurs when a key is released while focus is on this element. Inherited from UIElement.
LayoutUpdatedOccurs when the layout of the various visual elements associated with the current Dispatcher changes. Inherited from UIElement.
LoadedOccurs when the element is laid out, rendered, and ready for interaction. Inherited from FrameworkElement.
LostFocusOccurs when this element loses logical focus. Inherited from UIElement.
LostKeyboardFocusOccurs when the keyboard is no longer focused on this element. Inherited from UIElement.
LostMouseCaptureOccurs when this element loses mouse capture. Inherited from UIElement.
LostStylusCaptureOccurs when this element loses stylus capture. Inherited from UIElement.
LostTouchCaptureOccurs when this element loses a touch capture. Inherited from UIElement.
ManipulationBoundaryFeedbackOccurs when the manipulation encounters a boundary. Inherited from UIElement.
ManipulationCompletedOccurs when a manipulation and inertia on the UIElement object is complete. Inherited from UIElement.
ManipulationDeltaOccurs when the input device changes position during a manipulation. Inherited from UIElement.
ManipulationInertiaStartingOccurs when the input device loses contact with the UIElement object during a manipulation and inertia begins. Inherited from UIElement.
ManipulationStartedOccurs when an input device begins a manipulation on the UIElement object. Inherited from UIElement.
ManipulationStartingOccurs when the manipulation processor is first created. Inherited from UIElement.
MouseDoubleClickOccurs when a mouse button is clicked two or more times. Inherited from Control.
MouseDownOccurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
MouseEnterOccurs when the mouse pointer enters the bounds of this element. Inherited from UIElement.
MouseLeaveOccurs when the mouse pointer leaves the bounds of this element. Inherited from UIElement.
MouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseMoveOccurs when the mouse pointer moves while over this element. Inherited from UIElement.
MouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseUpOccurs when any mouse button is released over this element. Inherited from UIElement.
MouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
PreviewDragEnterOccurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
PreviewDragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
PreviewDragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
PreviewDropOccurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
PreviewGiveFeedbackOccurs when a drag-and-drop operation is started. Inherited from UIElement.
PreviewGotKeyboardFocusOccurs when the keyboard is focused on this element. Inherited from UIElement.
PreviewKeyDownOccurs when a key is pressed while focus is on this element. Inherited from UIElement.
PreviewKeyUpOccurs when a key is released while focus is on this element. Inherited from UIElement.
PreviewLostKeyboardFocusOccurs when the keyboard is no longer focused on this element. Inherited from UIElement.
PreviewMouseDoubleClickOccurs when a user clicks the mouse button two or more times. Inherited from Control.
PreviewMouseDownOccurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseMoveOccurs when the mouse pointer moves while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseUpOccurs when any mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
PreviewQueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
PreviewStylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewStylusButtonUpOccurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
PreviewStylusDownOccurs when the stylus touches the digitizer while it is over this element. Inherited from UIElement.
PreviewStylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
PreviewStylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
PreviewStylusMoveOccurs 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.
PreviewStylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected. Inherited from UIElement.
PreviewStylusSystemGestureOccurs when a user performs one of several stylus gestures. Inherited from UIElement.
PreviewStylusUpOccurs when the user raises the stylus off the digitizer while the stylus is over this element. Inherited from UIElement.
PreviewTextInputOccurs when this element gets text in a device-independent manner. Inherited from UIElement.
PreviewTouchDownOccurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchMoveOccurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchUpOccurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
QueryConnectionPointsFires each time the end-user moves the cursor with the active Connector Tool near shapes or their connection points. Inherited from DiagramControl.
QueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
QueryCursorOccurs 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.
QueryItemDrawActionFires repeatedly as the end-user hovers over the diagram canvas while a drawing tool (Rectangle, Ellipse, Right Triangle or Hexagon) is selected. Inherited from DiagramControl.
QueryItemEditActionFires each time the end-user attempts to initiate text editing to edit the text within a diagram item. Inherited from DiagramControl.
QueryItemsActionFires each time the DiagramControl queries whether an action can be performed on specific diagram items. Inherited from DiagramControl.
QueryItemSnappingFires repeatedly as the end-user triggers snapping while dragging or resizing a diagram shape. Inherited from DiagramControl.
RelayoutItemsCompletedOccurs immediately after an Automatic Layout algorithm is completed. Inherited from DiagramControl.
RequestBringIntoViewOccurs when BringIntoView(Rect) is called on this element. Inherited from FrameworkElement.
SelectionChangedFires when the selection changes (new items are selected, or currently selected items are deselected). Inherited from DiagramControl.
ShowingEditorEnables you to prevent an end-user from activating the editors of individual diagram items. Inherited from DiagramControl.
ShowingExportDialogInherited from DiagramControl.
ShowingOpenDialogFires before showing an ‘Open File’ dialog, and allows it to be customized. Inherited from DiagramControl.
ShowingOpenImageDialogFires before showing an ‘Insert Picture’ dialog, and allows it to be customized. Inherited from DiagramControl.
ShowingSaveDialogFires before showing a ‘Save File As’ dialog, and allows it to be customized. Inherited from DiagramControl.
SizeChangedOccurs when either the ActualHeight or the ActualWidth properties change value on this element. Inherited from FrameworkElement.
SourceUpdatedOccurs when the source value changes for any existing property binding on this element. Inherited from FrameworkElement.
StylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
StylusButtonUpOccurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
StylusDownOccurs when the stylus touches the digitizer while the stylus is over this element. Inherited from UIElement.
StylusEnterOccurs when the stylus enters the bounds of this element. Inherited from UIElement.
StylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
StylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
StylusLeaveOccurs when the stylus leaves the bounds of the element. Inherited from UIElement.
StylusMoveOccurs 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.
StylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected, while over this element. Inherited from UIElement.
StylusSystemGestureOccurs when a user performs one of several stylus gestures. Inherited from UIElement.
StylusUpOccurs when the user raises the stylus off the digitizer while it is over this element. Inherited from UIElement.
SubordinatesHiddenOccurs after the subordinates of a diagram shape are hidden. Inherited from DiagramControl.
SubordinatesHidingOccurs before a DiagramItem‘s subordinates are hidden. Inherited from DiagramControl.
SubordinatesShowingOccurs before a DiagramItem‘s subordinates are shown. Inherited from DiagramControl.
SubordinatesShownOccurs after a DiagramItem‘s subordinates are shown. Inherited from DiagramControl.
TargetUpdatedOccurs when the target value changes for any property binding on this element. Inherited from FrameworkElement.
TextInputOccurs when this element gets text in a device-independent manner. Inherited from UIElement.
ToolTipClosingOccurs just before any tooltip on the element is closed. Inherited from FrameworkElement.
ToolTipOpeningOccurs when any tooltip on the element is opened. Inherited from FrameworkElement.
TouchDownOccurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
TouchEnterOccurs when a touch moves from outside to inside the bounds of this element. Inherited from UIElement.
TouchLeaveOccurs when a touch moves from inside to outside the bounds of this element. Inherited from UIElement.
TouchMoveOccurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
TouchUpOccurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
UnloadedOccurs when the element is removed from within an element tree of loaded elements. Inherited from FrameworkElement.
ZoomFactorChangedRaises each time the current diagram zoom factor is changed. Inherited from DiagramControl.

See Also

DiagramDesignerControl Class

DiagramDesignerControl Members

DevExpress.Xpf.Diagram Namespace