The DiagramElement type exposes the following members.

Methods

  NameDescription
GetStyleSelector
When overridden in a derived class, gets the StyleSelector applicable to this type of element.
MoveBy
Moves the DiagramElement by the specified amounts. Diagram elements which are not independently positioned will ignore this call.
OnApplyFormatting
When overridden in a derived class, applies additional formatting beyond the template and style selectors.
OnConnectionDragEnter
Called when a ConnectionPointThumb is being dragged over the element.
OnConnectionDragLeave
Called when a ConnectionPointThumb that was being dragged over the element is dragged away from the element.
OnContentChanged
Called when the Content changes.
(Overrides ContentControl..::.OnContentChanged(Object, Object).)
OnMoveBy
When overridden in a derived class, implements the MoveBy(Double, Double) method.
OnPreviewMouseDown
Called when the mouse is pressed over this element.
(Overrides UIElement..::.OnPreviewMouseDown(MouseButtonEventArgs).)

See Also