Search
DiagramNode Methods
 


 Public Methods

  Name Description

acceptLinks

Determines whether the node can be connected with links of the specified type.

allowDrag

DiagramItem.allowDrag override.

attach

Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it.

attachTo

Attaches this node to the specified master node so that when the master is moved, the attached node follows it.

clone

DiagramItem.clone override.

Clone

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

containsPoint

DiagramItem.containsPoint override.

ContainsPoint

Overloaded. Determines whether this item contains the specified point. (Inherited from DiagramItem.)

createConnectionPoint

Creates a connection point between this node and the specified link at the specified point.

detach

Detaches this node from its current master node.

Dispose

Overloaded.   (Inherited from DiagramItem.)

DoModify

For internal use. (Inherited from DiagramItem.)

Draw

Draws the item on the specified IGraphics surface. (Inherited from DiagramItem.)

DrawHandles

Renders the adjustment handles of this item. (Inherited from DiagramItem.)

DrawShadow

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

endDrag

DiagramItem.endDrag override.

fromJson

DiagramItem.fromJson override.

getAllLinks

Returns all links connected to this node.

GetBounds

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

GetEffectiveBrush

Creates a System.Drawing.Brush object representing the currently effective brush of the item. (Inherited from DiagramItem.)

GetEffectivePen

Creates a System.Drawing.Pen object representing the currently effective pen of the item. (Inherited from DiagramItem.)

GetEffectiveShadowBrush

Creates a System.Drawing.Brush object representing the currently effective shadow brush of the item. (Inherited from DiagramItem.)

GetEffectiveTextBrush

Creates a System.Drawing.Brush object representing the currently effective text brush of the item. (Inherited from DiagramItem.)

getIntersection

Calculates the intersection point between the segment defined by the specified point pair and the node's outline.

getOutline

Gets the bounding rectangle of this node.

GetOutlinePoly

Gets a polygon approximating the outline of this object. (Inherited from DiagramItem.)

GetRepaintRect

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

getRotatedBounds

Gets the bounding rectangle of this item when it is rotated.

GetRotatedBounds

Gets the bounding rectangle of this item when it is rotated. (Inherited from DiagramItem.)

GetToolTip

Gets the tooltip that should be displayed for this item at the specified point. (Inherited from DiagramItem.)

HitTest

Returns the diagram item that contains the specified point. (Inherited from DiagramItem.)

HitTestHandle

Determines whether a selection handle of this item is located at the specified point. (Inherited from DiagramItem.)

HitTestManipulators

Finds the Manipulator object located at the specified point. (Inherited from DiagramItem.)

loadFromXml

DiagramItem.loadFromXml override. Loads the node's content from an XML element.

NotInteractive

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

NowModifying

Gets a flag indicating whether this object is being currently modified interactively by the user. (Inherited from DiagramItem.)

OnLoad

Called after successful deserialization. (Inherited from DiagramItem.)

Query

Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.)

raiseClicked

Raises an event which notifies that a node has been clicked.

raiseDoubleClicked

Raises an event which notifies that a node has been double-clicked.

removeCanvasElements

DiagramItem.removeCanvasElements override.

RestoreItemProperties

For internal use. (Inherited from DiagramItem.)

restoreLocationState

DiagramItem.restoreLocationState override.

restoreState

DiagramItem.restoreState override.

SaveItemProperties

For internal use. (Inherited from DiagramItem.)

saveLocationState

DiagramItem.saveLocationState override.

saveState

DiagramItem.saveState override.

saveToXml

Saves the item content into an XML element.

setBounds

Sets the rectangle that defines the position of the diagram node.

toJson

DiagramItem.toJson override.

updateDrag

DiagramItem.updateDrag override.

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

AllowCreate

Invoked during interactive creation of items to test whether the operation can be completed in the current context. (Inherited from DiagramItem.)

AllowModify

Invoked during interactive modification of items to test whether the operation can be completed in the current context. (Inherited from DiagramItem.)

CancelModify

Invoked when the interactive modification of this object has been canceled. (Inherited from DiagramItem.)

CompleteCreate

Invoked when the item creation has been completed. (Inherited from DiagramItem.)

CompleteModify

Invoked when the item modification has been completed. (Inherited from DiagramItem.)

CreateProperties

Creates an item property set corresponding to the type of this diagram item. (Inherited from DiagramItem.)

CreateState

Creates an item state corresponding to the type of this diagram item. (Inherited from DiagramItem.)

DrawManipulators

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

Finalize

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

GetValue

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

LoadFrom

Deserializes the item from the specified reader. (Inherited from DiagramItem.)

LoadFromJson

Loads the item from a JSON object. (Inherited from DiagramItem.)

LoadFromXml

Loads the item content from an XML element. (Inherited from DiagramItem.)

LoadObsolete

For internal use. (Inherited from DiagramItem.)

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. (Inherited from DiagramItem.)

OnClick

Invoked when the user clicks this item. (Inherited from DiagramItem.)

OnDoubleClick

Invoked when the user double-clicks this item. (Inherited from DiagramItem.)

OnMeasureUnitChanged

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

OnRemove

Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.)

OnStyleChanged

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

OnTextChanged

Called when the value of the Text property changes. (Inherited from DiagramItem.)

OnTextFormatChanged

Called when the value of the TextFormat property changes. (Inherited from DiagramItem.)

OnZoomChanged

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

RemoveManipulator

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

Repaint

Overloaded.   (Inherited from DiagramItem.)

RestoreProperties

Restores the properties of this diagram item. (Inherited from DiagramItem.)

RestoreState

Restores the state of this diagram item. (Inherited from DiagramItem.)

SaveProperties

Saves the properties of this diagram item. (Inherited from DiagramItem.)

SaveState

Saves the state of this diagram item. (Inherited from DiagramItem.)

SaveTo

Serializes the item to the specified writer. (Inherited from DiagramItem.)

SaveToJson

Saves the item as a JSON object. (Inherited from DiagramItem.)

SaveToXml

Saves the item content into an XML element. (Inherited from DiagramItem.)

SetDiagramDirty

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

SetExpanded

Sets whether the item is in expanded or collapsed state. (Inherited from DiagramItem.)

SetReference

Called during deserialization, after all objects have been instantiated, in order to update the references between them. (Inherited from DiagramItem.)

ShouldRender

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

StartCreate

Invoked once when the user starts creating a new item interactively. (Inherited from DiagramItem.)

StartModify

Invoked when the user starts modifying this item interactively. (Inherited from DiagramItem.)

UpdateCreate

Invoked during interactive creation of this item. (Inherited from DiagramItem.)

UpdateGroup

Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.)

UpdateModify

Invoked during interactive modification of this item. (Inherited from DiagramItem.)

 See Also