Search
ContainerNode Methods
 


 Public Methods

  Name Description

AcceptLinks

Determines whether the node can be connected with links of the specified type. (Inherited from DiagramNode.)

Attach

Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it. (Inherited from DiagramNode.)

AttachTo

Attaches this node to the specified master node so that when the master is moved, the attached node follows it. (Inherited from DiagramNode.)

Clone

Creates a copy of this item. (Inherited from DiagramItem.)

ContainsPoint

DiagramItem.ContainsPoint override. (Inherited from DiagramNode.)

ContainsRecursively

Determines whether this container contains the specified node, either directly or recursively through other containers.

Detach

Overloaded.   (Inherited from DiagramNode.)

GetAllIncomingLinks

Gets a collection of all links entering this node. (Inherited from DiagramNode.)

GetAllLinks

Gets all links connected to this node. (Inherited from DiagramNode.)

GetAllOutgoingLinks

Get a collection of all links going out of this node. (Inherited from DiagramNode.)

GetBounds

Gets the bounding rectangle of this item. (Inherited from DiagramNode.)

GetCenter

Gets the center of this node's bounding rectangle. (Inherited from DiagramNode.)

GetIntersection

Calculates the intersecion point between the segment defined by the specified point pair and the node's outline. (Inherited from DiagramNode.)

GetNearestBorderPoint

Returns a point that lies on the outline of this node, at the shortest distance from the specified point. (Inherited from DiagramNode.)

GetOutlinePoly

DiagramNode.GetOutlinePoly override. (Inherited from ShapeNode.)

GetRepaintRect

Gets the repaint region for this item, taking into account factors such as pen, selection handles and shadow. (Inherited from DiagramItem.)

GetRotatedBounds

Overloaded.   (Inherited from DiagramNode.)

HitTestHandle

DiagramItem.HitTestHandle override. (Inherited from DiagramNode.)

NotInteractive

Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.)

OnBoundsChanged

DiagramNode.OnBoundsChanged override.

OnDragOut

Invoked when a diagram item is being dragged out of this node.

OnDragOver

Invoked when a diagram item is being dragged over this node.

OnDropOver

Invoked when a diagram item is dropped over this node.

ReassignAnchorPoints

Reassigns links to anchor points so that they are evenly disctributed. (Inherited from DiagramNode.)

ReassignUnanchoredLinks

Reassigns unanchored links (Inherited from DiagramNode.)

ResizeToFitImage

Makes the shape node as big as the image it displays. (Inherited from ShapeNode.)

ResizeToFitText

Overloaded.   (Inherited from ShapeNode.)

RestoreLocationState

DiagramItem.RestoreLocationState override. (Inherited from DiagramNode.)

SaveLocationState

DiagramItem.SaveState override. (Inherited from DiagramNode.)

SetBounds

Sets the location and size of this node. (Inherited from DiagramNode.)

TransformDiagramToItem

Transforms a point in diagram coordinates to item coordinates. This method should be used instead Visual.TransformToDescendant because it works correctly when the item is not yet Arrange()d. (Inherited from DiagramItem.)

TransformItemToDiagram

Gets the diagram coordinates of a point specified in the local coordinate system of this item. (Inherited from DiagramItem.)

ZBottom

Moves the item to the bottom of the z-order. (Inherited from DiagramItem.)

ZLevelDown

Moves the item one level down in the z-order. (Inherited from DiagramItem.)

ZLevelUp

Moves the item one level up in the z-order. (Inherited from DiagramItem.)

ZTop

Moves the item to the top of the z-order. (Inherited from DiagramItem.)

 Protected Methods

  Name Description

AddAnchorPointVisuals

Adds the AnchorPattern points to the node's Adorner. (Inherited from DiagramNode.)

AddExpandButton

Adds the ExpandButton to the node's Adorner. (Inherited from DiagramNode.)

AddFoldButton

Adds the FoldButton to the node's Adorner.

AddHandlesToCanvas

Overloaded.   (Inherited from DiagramNode.)

AllowDrag

Invoked to validate the drag operation. (Inherited from DiagramItem.)

CancelDrag

DiagramItem.CancelDrag override.

CreateAnchorPointVisual

Creates a Path that represents the specified AnchorPoint. (Inherited from DiagramNode.)

CreateConnectionPoint

Creates a connection point between this node and the specified link at the specified point. (Inherited from DiagramNode.)

CreateState

DiagramItem.CreateState override.

EndDrag

DiagramItem.EndDrag override.

GetOutline

DiagramNode.GetOutline override. (Inherited from ShapeNode.)

LoadFromXml

Loads the item content from an XML element.

OnAdd

Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramNode.)

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

OnChildModified

Called when a group child node has been modified.

OnLoad

DiagramItem.OnLoad override. (Inherited from DiagramNode.)

OnMeasureUnitChanged

Called when the diagram's MeasureUnit changes. (Inherited from DiagramNode.)

OnPointerCaptureLost

Control.OnPointerCaptureLost override. (Inherited from DiagramItem.)

OnPointerEntered

Control.OnPointerEntered override. (Inherited from DiagramItem.)

OnPointerExited

Control.OnPointerExited override. (Inherited from DiagramItem.)

OnPointerPressed

Control.OnPointerPressed override. (Inherited from DiagramItem.)

OnPointerReleased

Control.OnPointerReleased override. (Inherited from DiagramItem.)

OnRemove

DiagramNode.OnRemove override.

RemoveAnchorPointVisuals

Removes the AnchorPattern points from the node's Adorner. (Inherited from DiagramNode.)

RemoveHandlesFromCanvas

DiagramItem.RemoveHandlesFromCanvas override. (Inherited from DiagramNode.)

RestoreState

DiagramItem.RestoreState override.

SaveState

DiagramItem.SaveState override.

SaveToXml

Saves the item content into an XML element.

ScaleElements

DiagramNode.ScaleElements override.

SetIncomingLinks

Sets the incoming links collection of this node. (Inherited from DiagramNode.)

SetOutgoingLinks

Sets the outgoing links collection of this node. (Inherited from DiagramNode.)

SetReflexive

Invoked to let a node set the shape of a reflexive link connected to it. (Inherited from DiagramNode.)

StartDrag

DiagramItem.StartDrag override.

UpdateDrag

DiagramItem.UpdateDrag override. (Inherited from DiagramNode.)

UpdateHandleColors

DiagramItem.UpdateHandleColors override. (Inherited from DiagramNode.)

UpdateHandlePositions

DiagramItem.UpdateHandlePositions override. (Inherited from DiagramNode.)

UpdateStates

Sets the current VisualStates of this item. (Inherited from DiagramItem.)

UpdateVisuals

ShapeNode.UpdateVisuals override.

 See Also