The DiagramNodeElement type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DiagramNodeElement |
Methods
| Name | Description | |
|---|---|---|
| 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.
|
Fields
| Name | Description | |
|---|---|---|
| BoundsChangeRequestedEvent |
Identifies the BoundsChangeRequested routed event.
| |
| ConnectionPointPositionsProperty |
Identifies the ConnectionPointPositions property.
| |
| GeometryProperty |
Identifies the PathGeometry property.
| |
| IsFromConnectionDragOverProperty |
Identifies the IsFromConnectionDragOver property.
| |
| IsGeometryProviderProperty |
Identifies the IsGeometryProvider property.
| |
| IsResizableProperty |
Identifies the IsResizable property.
| |
| IsToConnectionDragOverProperty |
Identifies the IsToConnectionDragOver property.
| |
| LeftProperty |
Identifies the Left property.
| |
| NodeContentTemplateSelectorProperty |
Identifies the NodeContentTemplateSelector property.
| |
| NodeTemplateProperty |
Identifies the NodeTemplate property.
| |
| RaisesBoundsChangeRequestedProperty |
Identifies the RaisesBoundsChangeRequested property.
| |
| ShowConnectionPointsProperty |
Identifies the ShowConnectionPoints property.
| |
| TopProperty |
Identifies the Top property.
|
Properties
| Name | Description | |
|---|---|---|
| Bounds |
Gets the bounds of this DiagramNodeElement.
(Overrides DiagramElement..::.Bounds.) | |
| ConnectionPointPositions |
Gets or sets a collection of ShapeConnectionPointPosition objects that specify how
connection points should be positioned on the DiagramNodeElement.
This is a dependency property.
| |
| ConnectionPointTemplateSelector |
Gets or sets the DataTemplateSelector used to select the template
for connection points.
This is a dependency property.
(Inherited from DiagramElement.) | |
| Geometry |
Gets or sets the boundary shape of the node.
This is a dependency property.
| |
| IsFromConnectionDragOver |
Gets whether or not the mouse is being dragged over this DiagramNodeElement allowing
the outbound connection points to be displayed.
This is a dependency property.
| |
| IsResizable |
Gets or sets whether the DiagramNodeElement can be resized.
This is a dependency property.
| |
| IsToConnectionDragOver |
Gets whether or not the mouse is being dragged over this DiagramNodeElement allowing
the inbound connection points to be displayed.
This is a dependency property.
| |
| LayerKeyCore |
Gets an object identifying the layer on which to display this element.
For a DiagramNodeElement, this is the parent of the
originating node.
(Overrides DiagramElement..::.LayerKeyCore.) | |
| Left |
Gets or sets the the horizontal offset of the DiagramNodeElement from
the left hand side of the diagram.
This is a dependency property.
| |
| Node |
Gets the IDiagramNode represented by this DiagramNodeElement.
| |
| NodeContentTemplateSelector |
Gets or sets the DataTemplateSelector used to the select the DataTemplate for displaying the data within the
IDiagramNode.
This is a dependency property.
| |
| NodeTemplate |
Gets or sets the DataTemplate used to give shape and color to the node.
This is a dependency property.
| |
| ShowConnectionPoints |
Gets or sets whether to show connection points.
This is a dependency property.
| |
| Top |
Gets or sets the the vertical offset of the DiagramNodeElement from
the top of the diagram.
This is a dependency property.
| |
| ZIndexLayer |
Gets how the DiagramElement participates in the z-order.
(Inherited from DiagramElement.) |
Events
| Name | Description | |
|---|---|---|
| BoundsChangeRequested |
Occurs whenever a bounds change for this DiagramNodeElement is requested.
|