Search
ContainerNode Methods
 


 Public Methods

  Name Description

AcceptLinks

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

Add

Adds a node to this container.

AddLabel

Overloaded.   (Inherited from DiagramNode.)

AttachManipulator

Adds the specified manipulator to this node. (Inherited from DiagramNode.)

AttachToLink

Overloaded. Attaches this node to a link. (Inherited from DiagramNode.)

AttachToNode

Attaches this node to the specified node using the specified attaching type. (Inherited from DiagramNode.)

Clone

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

Collapse

Hides all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.)

ContainsPoint

Overloaded. DiagramItem.ContainsPoint override. (Inherited from DiagramNode.)

ContainsRecursively

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

CreateConnectionPoint

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

Detach

Detaches this node from its master item. (Inherited from DiagramNode.)

DetachManipulator

Removes the specified manipulator from this node. (Inherited from DiagramNode.)

Draw

DiagramNode.Draw override. Draws the container on the specified IGraphics surface.

DrawAnchors

Draws the anchor points of this node. (Inherited from DiagramNode.)

DrawHandles

DiagramItem.DrawHandles override. (Inherited from DiagramNode.)

DrawLocal

DiagramNode.DrawLocal override. Draws the container on the specified IGraphics surface.

DrawShadow

DiagramItem.DrawShadow override. Draws the shadow of this item on the specified IGraphics surface. (Inherited from DiagramNode.)

DrawShadowLocal

Override in a derived class to provide implementation specific drawing for the shadow of the node. (Inherited from DiagramNode.)

Expand

Shows all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.)

GetAllLinks

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

GetAllOutgoingLinks

Overloaded. Collects all links going out of this node. (Inherited from DiagramNode.)

GetBounds

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

GetCenter

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

GetClosestAnchorPoint

Returns the index of the anchor point that lies at the shortest distance from the specified point. (Inherited from DiagramNode.)

GetContainer

Retrieves the container node (if any) the specified node belongs to.

GetIntersection

Calculates the intersection 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

DiagramItem.GetOutlinePoly override. (Inherited from DiagramNode.)

GetRepaintRect

DiagramItem.GetRepaintRect override. (Inherited from DiagramNode.)

GetRotatedBounds

Overloaded. Gets the bounding rectangle of this node or the bounding rectangle of another rectangle rotated at a specified angle around a specified point. (Inherited from DiagramNode.)

HitTest

DiagramItem.HitTest override.

HitTestHandle

DiagramNode.HitTestHandle override.

Intersects

Determines whether this node's outline intersects with the outline of the specified node. (Inherited from DiagramNode.)

LabelFromPoint

Returns the label whose layout rectangle contains the specified point. (Inherited from DiagramNode.)

Move

Moves the node to the specified location. (Inherited from DiagramNode.)

NotInteractive

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

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.

OnLoad

DiagramItem.OnLoad override.

ReassignAnchorPoints

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

ReassignUnanchoredLinks

Reassigns unanchored links (Inherited from DiagramNode.)

Remove

Removes a node from this container.

RemoveLabel

Removes the specified label from this node. (Inherited from DiagramNode.)

Resize

Resizes the node. (Inherited from DiagramNode.)

ResizeToFitChildren

Resizes the container making it big enough to contain its child nodes.

RestoreItemProperties

For internal use. (Inherited from DiagramItem.)

SaveItemProperties

For internal use. (Inherited from DiagramItem.)

SetExpandedFlag

Sets the 'expanded' flag, repainting the node. (Inherited from DiagramNode.)

UpdateBounds

Overloaded. Updates the container bounds to fit its contents.

VisitNodes

Visits the diagram nodes in reverse Z order.

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

AddManipulator

Adds the specified manipulator to this object. (Inherited from DiagramItem.)

CreateProperties

DiagramItem.CreateProperties override.

CreateState

DiagramItem.CreateState override. (Inherited from DiagramNode.)

DrawManipulators

Overloaded. Draws the associated manipulators on a specified graphics. (Inherited from DiagramItem.)

FreeResources

Called when the item is completely disassociated from a Diagram, that is, when it is no longer referenced from an item collection or the undo/redo history. (Inherited from DiagramItem.)

GetAllIncomingLinks

Overloaded. Collects all links entering this node. (Inherited from DiagramNode.)

GetLocalBounds

Gets this node's bounding rectangle in local coordinates. (Inherited from DiagramNode.)

GetRgnInRect

Creates and returns a Region object for this node as though it is contained in the specified rectangle. (Inherited from DiagramNode.)

GetValue

Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.)

HandleTap

Invoked when the user releases his finger over this item. (Inherited from DiagramItem.)

LoadFromJson

Loads the item content from a JsonObject.

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 DiagramItem.)

OnChildModified

Called when a group child node has been modified.

OnFontChanged

Invoked when the Font property has changed. (Inherited from DiagramItem.)

OnMeasureUnitChanged

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

OnModify

Invoked when the user moves or resizes this node. (Inherited from DiagramNode.)

OnPropertyChanged

DiagramNode.OnPropertyChanged override.

OnRemove

DiagramNode.OnRemove override.

OnRotationAngleChanged

Invoked when the rotation angle of this node has been changed, either programmatically or interactively. (Inherited from DiagramNode.)

OnStyleChanged

Invoked when the associated style or theme have changed. (Inherited from DiagramItem.)

OnUpdateBounds

Overloaded. Invoked when the bounding rectangle of the node has changed. (Inherited from DiagramNode.)

OnZoomChanged

Called when the MindFusion.Diagramming for .NET MAUI's ZoomFactor changes. (Inherited from DiagramItem.)

RaiseClicked

Raises an event which notifies that a node has been clicked. (Inherited from DiagramNode.)

RemoveManipulator

Removes the specified manipulator from the object. (Inherited from DiagramItem.)

Repaint

Overloaded. Repaints the specified region of the diagram. (Inherited from DiagramItem.)

RestoreProperties

DiagramNode.RestoreProperties override.

RestoreState

DiagramItem.RestoreState override. (Inherited from DiagramNode.)

SaveProperties

DiagramNode.SaveProperties override.

SaveState

DiagramItem.SaveState override. (Inherited from DiagramNode.)

SaveToJson

Saves the item content into a JsonObject.

SaveToXml

Saves the item content into an XML element.

ScaleElements

DiagramNode.ScaleElements override.

SetDiagramDirty

Marks the diagram as changed. (Inherited from DiagramItem.)

SetExpandable

Internally sets the expandable state of this object to the specified value, adding or removing an Expander manipulator object if necessary. (Inherited from DiagramNode.)

SetExpanded

DiagramItem.SetExpanded override. (Inherited from DiagramNode.)

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.)

ShouldRender

Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.)

ShouldRenderAnchors

Determines whether the node should render its anchor points. (Inherited from DiagramNode.)

UpdateLinkIntersections

Updates the intersection points of links, connected to this node and its outline, usually in response to change in the node's shape. (Inherited from DiagramNode.)

UpdateLinkPositions

Updates the end points of the links, connected to this node, usually in response to change in the node's size or shape. (Inherited from DiagramNode.)

 See Also