The DiagramNodeElement type exposes the following members.

Methods

  NameDescription
FindMouseOverConnectionPoint
Returns the IDiagramConnectionPoint on this node that the mouse is currently over. Returns false if the mouse is not currently over any connection point.
GetIsGeometryProvider
Gets whether or not a binding should be made between the Geometry property of this DiagramNodeElement and the Data property that the IsGeometryProvider attached property is attached to.
GetRaisesBoundsChangeRequested
Gets whether or not the FrameworkElement that the RaisesBoundsChangeRequested attached property is attached to should cause a DiagramNodeElement to raise the BoundsChangeRequested event.
GetStyleSelector
Gets the StyleSelector applicable to this type of element.
(Overrides DiagramElement..::.GetStyleSelector(IDiagramFormatter).)
HideConnectionPointControls
Hides connection points by setting the IsToConnectionDragOver and IsFromConnectionDragOver property values.
MoveBy
Moves the DiagramElement by the specified amounts. Diagram elements which are not independently positioned will ignore this call.
(Inherited from DiagramElement.)
OnApplyFormatting
Applies additional formatting beyond the template and style selectors.
(Overrides DiagramElement..::.OnApplyFormatting(DiagramSurface).)
OnConnectionDragEnter
Called when a ConnectionPointThumb is being dragged over the element.
(Overrides DiagramElement..::.OnConnectionDragEnter(Nullable<(Of <(Point>)>), IDiagramConnectionPoint).)
OnConnectionDragLeave
Called when a ConnectionPointThumb that was being dragged over the element is dragged away from the element.
(Overrides DiagramElement..::.OnConnectionDragLeave()()().)
OnContentChanged
Called when the Content changes.
(Overrides DiagramElement..::.OnContentChanged(Object, Object).)
OnMoveBy
Implements the MoveBy(Double, Double) method.
(Overrides DiagramElement..::.OnMoveBy(Double, Double).)
OnPreviewMouseDown
Called when the mouse is pressed over this element.
(Inherited from DiagramElement.)
SetIsGeometryProvider
Sets whether or not a binding should be made between the Geometry property of this DiagramNodeElement and the Data property that the IsGeometryProvider attached property is attached to.
SetRaisesBoundsChangeRequested
Sets whether or not the FrameworkElement that the RaisesBoundsChangeRequested attached property is attached to should cause a DiagramNodeElement to raise the BoundsChangeRequested event.
ShowConnectionPointControls
Allows connection points to be visible by setting the IsToConnectionDragOver and IsFromConnectionDragOver property values.

See Also