Represents a diagram node.
The following tables list the members exposed by the DiagramNode type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the DiagramNode class. |
Name | Description | |
---|---|---|
Identifies the Bounds dependency property. |
||
Idendifies the Brush dependency property. (Inherited from DiagramItem.) |
||
Identifies the EffectsSource dependency property. |
||
Identifies the EnabledHandles property. |
||
Identifies the FontFamily dependency property. (Inherited from DiagramItem.) |
||
Identifies the FontSize dependency property. (Inherited from DiagramItem.) |
||
Identifies the FontStretch dependency property. (Inherited from DiagramItem.) |
||
Identifies the FontStyle dependency property. (Inherited from DiagramItem.) |
||
Identifies the FontWeight dependency property. (Inherited from DiagramItem.) |
||
Identifies the Id dependency property. (Inherited from DiagramItem.) |
||
Identifies the RotationAngle dependency property. |
||
Identifies the StrokeDashCap dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeDashStyle dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeEndLineCap dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeLineJoin dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeMiterLimit dependency property. (Inherited from DiagramItem.) |
||
Identifies the Stroke dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeStartLineCap dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeThickness dependency property. (Inherited from DiagramItem.) |
||
Identifies the Template dependency property. |
||
Identifies the TextAlignment dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextBrush dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextDecorations dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextPadding dependency property. (Inherited from DiagramItem.) |
||
Identifies the Text dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextTrimming dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextVerticalAlignment dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextWrapping dependency property. (Inherited from DiagramItem.) |
||
The Transform dependency property. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
For internal use. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
A Visual that contains the item's adjustment handles. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether users are allowed to draw incoming links to this node. |
||
Gets or sets a value indicating whether users are allowed to draw outgoing links from this node. |
||
Gets or sets the anchor points to which links are attached when connected to the node. |
||
Gets or sets the rectangle that defines the position of the diagram node. |
||
Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.) |
||
Gets whether text layout area has limited height. (Inherited from DiagramItem.) |
||
Allows applying constraints to the location and size of the node. |
||
Gets the parent ContainerNode containing this node. |
||
Gets a collection with all effects applied to this node. |
||
Gets or sets the kinds of modifications that end-users are permitted to perform on the node. |
||
Gets or sets a value indicating whether users are allowed to expand or collapse the subtree that starts from this node. |
||
Gets or sets a value indicating whether the subtree starting from this node is expanded. |
||
Gets or sets the preferred font family for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the font size for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the font-stretching characteristics for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the font style for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the font weight for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the node's point that should align to a grid point when the node is moved. |
||
Gets or sets a value indicating how the node adjustment handles behave and what do they look like. |
||
Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.) |
||
Gets or sets user-defined identifier associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.) |
||
Gets a collection of links that point to the node. |
||
Returns the list of supplementary labels displayed by this node. |
||
Gets or sets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with a layer. (Inherited from DiagramItem.) |
||
Contains properties specific to each layout algorithm. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.) |
||
Gets a reference to the group to which this node is attached. |
||
Returns the node's Container or main item of MasterGroup. |
||
Gets or sets a value indicating whether this node is considered an obstacle by the link-routing algorithm. |
||
Gets a collection of links that start from this node. |
||
Gets the diagram that contains this item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether to print the item. (Inherited from DiagramItem.) |
||
Gets or sets the rotation angle of this node. |
||
For internal use. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.) |
||
Gets or sets the Brush that specifies how the item outline is painted. (Inherited from DiagramItem.) |
||
Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn. (Inherited from DiagramItem.) |
||
Gets or sets the pattern of dashes and gaps used to outline items. (Inherited from DiagramItem.) |
||
Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the end of a Stroke. (Inherited from DiagramItem.) |
||
Gets or sets a PenLineJoin enumeration value that specifies the type of join that is used at the vertices of the item's outline. (Inherited from DiagramItem.) |
||
Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of an item outline element. (Inherited from DiagramItem.) |
||
Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the start of a Stroke. (Inherited from DiagramItem.) |
||
Gets or sets the width of the DiagramItem stroke outline. (Inherited from DiagramItem.) |
||
Gets a reference to the group of items that are attached to this one. (Inherited from DiagramItem.) |
||
Gets or sets the DataTemplate used to display this node. |
||
Gets or sets the text displayed inside this item. (Inherited from DiagramItem.) |
||
Gets or sets a value that indicates the horizontal alignment of text content. (Inherited from DiagramItem.) |
||
Gets or sets the brush used to draw the item's text. (Inherited from DiagramItem.) |
||
Gets or sets the effects to apply to the text of this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the thickness of padding space between the item boundaries and its text. (Inherited from DiagramItem.) |
||
Gets or sets the text trimming to employ when text overflows the item area. (Inherited from DiagramItem.) |
||
Gets or sets a value that indicates the vertical alignment of text content. (Inherited from DiagramItem.) |
||
Gets or sets how this DiagramItem should wrap text. (Inherited from DiagramItem.) |
||
DiagramItem.TopLevel override. |
||
Gets or sets a transform that will be applied to the item's presenter. (Inherited from DiagramItem.) |
||
Gets the UIElement associated with this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.) |
||
Gets or sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.) |
||
Gets or sets the z-order position of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
FrameworkElement.LogicalChildren override. |
||
Returns the diagram measure unit. (Inherited from DiagramItem.) |
||
Gets the size of this item. (Inherited from DiagramItem.) |
||
FrameworkElement.VisualChildrenCount override. |
Name | Description | |
---|---|---|
Determines whether the node can be connected with links of the specified type. |
||
Overloaded. |
||
Overloaded. Attaches this node to another diagram item. |
||
Clears the local values of all styleable appearance properties. (Inherited from DiagramItem.) |
||
Creates a copy of this item. (Inherited from DiagramItem.) |
||
Hides all nodes and links in the subtree starting from this node. |
||
Overloaded. |
||
Detaches this node from its master item. |
||
Overloaded. (Inherited from DiagramItem.) |
||
DiagramItem.Draw override. |
||
Draws the anchor points of this node. |
||
DiagramItem.DrawHandles override. |
||
Draws this node on the specified DrawingContext graphics surface. |
||
Shows all nodes and links in the subtree starting from this node. |
||
Overloaded. |
||
Gets all links connected to this node. |
||
Overloaded. |
||
Gets the bounding rectangle of this item. |
||
Gets the center of this node's bounding rectangle. |
||
Calculates the intersecion point between the segment defined by the specified point pair and the node's outline. |
||
Returns a point that lies on the outline of this node, at the shortest distance from the specified point. |
||
DiagramItem.GetRegion override. |
||
DiagramItem.GetRepaintRect override. |
||
Overloaded. |
||
Gets the rotation angle of this node. |
||
DiagramItem.GetToolTip override. |
||
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
||
DiagramItem.HitTestHandle override. |
||
DiagramItem.HitTestManipulators override. |
||
DiagramItem.Intersects override. Checks whether the specified rectangle intersects with this node. |
||
Returns the label whose layout rectangle contains the specified point. |
||
Moves the node to the specified location. |
||
Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.) |
||
Gets a flag indicating whether this object is being currently modified interactively by the user. (Inherited from DiagramItem.) |
||
Invoked when a diagram item is being dragged out of this node. |
||
Invoked when a diagram item is being dragged over this node. |
||
Invoked when a diagram item is dropped over this node. |
||
Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.) |
||
Reassigns links to anchor points so that they are evenly disctributed. |
||
Reassigns unanchored links |
||
Removes the specified label from this node. |
||
DiagramItem.Repaint override. |
||
Resizes the node. |
||
Sets the location and size of this node. |
||
Sets the 'expanded' flag, repainting the node. |
||
This method is used internally by the Ruler control to align nodes. |
||
Transforms a point from document coordinates to item coordinates. (Inherited from DiagramItem.) |
||
Transforms point from item-relative coordinates to document coordinates. (Inherited from DiagramItem.) |
||
Invoked by running animations to update an item according to current animation progress. |
||
Moves the item to the bottom of the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level down in the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level up in the z-order. (Inherited from DiagramItem.) |
||
Moves the item to the top of the z-order. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Adds this item to specified container element. (Inherited from DiagramItem.) |
||
DiagramItem.AllowCreate override. |
||
DiagramItem.AllowModify override. |
||
FrameworkElement.ArrangeOverride override. |
||
DiagramItem.CompleteCreate override. |
||
Overloaded. |
||
Check whether the KeepInsideParent constrained is being violated. |
||
Creates a connection point between this node and the specified link at the specified point. |
||
Creates an item property set corresponding to the type of this diagram item. (Inherited from DiagramItem.) |
||
DiagramItem.CreateRenderer override. |
||
DiagramItem.CreateState override. |
||
Draws the associated manipulators in the specified context. (Inherited from DiagramItem.) |
||
DiagramItem.EnumStyleableProperties override. |
||
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.) |
||
Returns a DataTemplate that should be used to render the node if its own Template property is not set. |
||
Gets the height of this item. (Inherited from DiagramItem.) |
||
Gets this node's bounding rectangle in local coordinates. |
||
Subtracts the TextPadding values from the specified rectangle. (Inherited from DiagramItem.) |
||
FrameworkElement.GetVisualChild override. |
||
Gets the width of this item. (Inherited from DiagramItem.) |
||
Gets the x-coordinate of the current position of this item. (Inherited from DiagramItem.) |
||
Gets the y-coordinate of the current position of this item. (Inherited from DiagramItem.) |
||
Determines whether this node is a predecessor of the specified node in the group hierarchy. |
||
Loads the node from a JSON object. |
||
DiagramItem.LoadFromXml override. |
||
FrameworkElement.MeasureOverride override. |
||
Called when this node is added to the Diagram. |
||
Invoked when any of the item's appearance properties changes. (Inherited from DiagramItem.) |
||
Called when a child node has been modified. (Inherited from DiagramItem.) |
||
Called when a child node is being modified. (Inherited from DiagramItem.) |
||
Called after the item is deserialized. |
||
Called when the diagram's MeasureUnit changes. (Inherited from DiagramItem.) |
||
UIElement.OnMouseDown override. (Inherited from DiagramItem.) |
||
UIElement.OnMouseUp override. (Inherited from DiagramItem.) |
||
Called when the item's position changes. (Inherited from DiagramItem.) |
||
UIElement.OnPreviewMouseWheel override. (Inherited from DiagramItem.) |
||
UIElement.OnPreviewMouseUp override. (Inherited from DiagramItem.) |
||
DiagramItem.OnRemove override. |
||
UIElement.OnRender override. (Inherited from DiagramItem.) |
||
Invoked when a FrameworkElement property serializable by DiagramItem changes. (Inherited from DiagramItem.) |
||
Called when the size of the node changes. |
||
Invoked when any of the item's stroke attributes changes. (Inherited from DiagramItem.) |
||
Invoked when any of the attributes defined in ITextAttributes changes. (Inherited from DiagramItem.) |
||
Invoked when the bounding rectangle of the node has changed. |
||
Called when the ZoomFactor changes. (Inherited from DiagramItem.) |
||
DiagramItem.RestoreProperties override. |
||
DiagramItem.RestoreState override. |
||
DiagramItem.SaveProperties override. |
||
DiagramItem.SaveState override. |
||
Saves the node as a JSON object. |
||
DiagramItem.SaveToXml override. |
||
Scales the node's elements by specified amount. |
||
Marks the diagram as changed. (Inherited from DiagramItem.) |
||
Internally sets the expandable state of this object to the specified value, adding or removing an Expander manipulator object if necessary. |
||
DiagramItem.SetExpanded override. |
||
Sets the incoming links collection of this node. |
||
Sets the outgoing links collection of this node. |
||
Invoked to let a node set the shape of a reflexive link connected to it. |
||
Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.) |
||
Determines whether the node should render its anchor points. |
||
DiagramItem.StartCreate override. |
||
DiagramItem.StartModify override. |
||
DiagramItem.UpdateCreate override. |
||
Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.) |
||
Updates the intersection points of links, conntected to this node and its outline, usually in response to change in the node's shape. |
||
Updates the end points of the links, connected to this node, usually in response to change in the node's size or shape. |
||
DiagramItem.UpdateModify override. |