ShapeNode instances are diagram nodes that represent geometric shapes.
The following tables list the members exposed by the ShapeNode type.
Name | Description | |
---|---|---|
![]() |
Overloaded. |
Name | Description | |
---|---|---|
![]() ![]() |
Identifies the DecorationsContainer dependency property. |
|
![]() ![]() |
Identifies the HorizontalImageAlignment dependency property. |
|
![]() ![]() |
Identifies the HorizontalTextBlockAlignment dependency property. |
|
![]() ![]() |
Identifies the Image dependency property. |
|
![]() ![]() |
Identifies the ImageStretch dependency property. |
|
![]() ![]() |
Identifies the ShapeGeometry dependency property. |
|
![]() ![]() |
Identifies the Shape dependency property. |
|
![]() ![]() |
Identifies the ShapeVisibility dependency property. |
|
![]() ![]() |
Identifies the TextAlignment dependency property. |
|
![]() ![]() |
Identifies the TextHeight dependency property. |
|
![]() ![]() |
Identifies the TextMargin dependency property. |
|
![]() ![]() |
Identifies the Text dependency property. |
|
![]() ![]() |
Identifies the TextWidth dependency property. |
|
![]() ![]() |
Identifies the TextWrapping dependency property. |
|
![]() ![]() |
Identifies the Transparent dependency property. |
|
![]() ![]() |
Identifies the VerticalImageAlignment dependency property. |
|
![]() ![]() |
Identifies the VerticalTextBlockAlignment dependency property. |
Name | Description | |
---|---|---|
![]() ![]() |
Identifies the AutoCaptureMouse dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the Bounds dependency property. (Inherited from DiagramNode.) |
|
![]() ![]() |
Identifies the Brush dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the EffectsSource dependency property. (Inherited from DiagramNode.) |
|
![]() ![]() |
Identifies the HyperLink dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the IsMouseDown dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the IsMouseOver dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the MasterNode dependency property. (Inherited from DiagramNode.) |
|
![]() ![]() |
Identifies the RotationAngle dependency property. (Inherited from DiagramNode.) |
|
![]() ![]() |
Identifies the ShapeOpacity dependency property. (Inherited from DiagramNode.) |
|
![]() ![]() |
Identifies the StrokeDashArray dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeDashCap dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeDashOffset 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 TextBrush dependency property. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
A list of the Rectangle objects that represent the item's adjustment handles. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
Gets a Grid that contains the ShapeNode decoration elements. |
|
![]() |
Gets or sets the horizontal alignment of the ShapeNode's image. |
|
![]() |
Gets or sets the horizontal alignment of the TextBlock used to display the ShapeNode text relative to its container Grid. |
|
![]() |
Gets or sets the image that is displayed in this shape node. This is a dependency property. |
|
![]() |
Gets or sets the alignment of the image displayed in this shape node. |
|
![]() |
Gets or sets the resource path to an image that should be displayed in this ShapeNode. |
|
![]() |
Gets or sets a value that describes how the ShapeNode's image should be stretched to fill the destination rectangle. |
|
![]() |
Gets or sets the URL of the image displayed in this ShapeNode. |
|
![]() |
Gets or sets a reference to the node's geometric shape definition. |
|
![]() |
Gets a Geometry object that represents the ShapeNode outline and is automatically generated from the current Shape and Bounds values. |
|
![]() |
For internal use. |
|
![]() |
Gets or sets the text displayed inside the shape node. This is a dependency property. |
|
![]() |
Gets or sets how the text should be aligned in the ShapeNode's text box. |
|
![]() |
Gets or sets the alignment of the text that is displayed inside shape nodes. |
|
![]() |
Gets or sets the height of the ShapeNode text area. |
|
![]() |
Gets or sets the offset of the ShapeNode text area from the origin of its container Grid. |
|
![]() |
Gets or sets the width of the ShapeNode text area. |
|
![]() |
Gets or sets whether text wraps when it extends beyond the available width of the node. This is a dependency property. |
|
![]() |
Gets or sets a value indicating whether this shape node is transparent. This is a dependency property. |
|
![]() |
Gets or sets the vertical alignment of the ShapeNode's image. |
|
![]() |
Gets or sets the vertical alignment of the TextBlock used to display the ShapeNode text relative to its container Grid. |
Name | Description | |
---|---|---|
![]() |
Gets or sets a value indicating whether users are allowed to draw incoming links to this node. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets a value indicating whether users are allowed to draw outgoing links from this node. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets the anchor points to which links are attached when connected to the node. (Inherited from DiagramNode.) |
|
![]() |
Returns the nodes attached to this node. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets whether the item should capture the mouse input when the left button is pressed over it. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets the rectangle that defines the position of the diagram node. This is a dependency property. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets the Brush that specifies how to paint the interior of the item. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Allows applying constraints to the location and size of the node. (Inherited from DiagramNode.) |
|
![]() |
Gets the ContainerNode that contains this node. (Inherited from DiagramNode.) |
|
![]() |
Gets the parent diagram. (Inherited from DiagramItem.) |
|
![]() |
Gets a collection with all effects applied to this node. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets the kinds of modifications that end-users are permitted to perform on the node. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets a value indicating whether users are allowed to expand or collapse the subtree that starts from this node. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets a value indicating whether the subtree starting from this node is expanded. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets a value indicating how the node adjustment handles behave and what do they look like. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets the hyperlink associated with this diagram item. This is a dependency property. (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. (Inherited from DiagramNode.) |
|
![]() |
Gets a value indicating whether the mouse button is pressed over this item. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets a value indicating whether the mouse pointer is located over this item. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
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 the node to which this node is attached. This is a dependency property. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets a value indicating whether this node is considered an obstacle by the link-routing algorithm. (Inherited from DiagramNode.) |
|
![]() |
Gets a collection of links that start from this node. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets the angle at which this node is rotated. This is a dependency property. (Inherited from DiagramNode.) |
|
![]() |
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 shape opacity of this node. This is a dependency property. (Inherited from DiagramNode.) |
|
![]() |
Gets or sets the Brush that specifies how the item outline is painted. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets a collection of double values that indicate the pattern of dashes and gaps that is used to outline nodes. This is a dependency property. (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 a double value that specifies the distance within the dash pattern where a dash begins. This is a dependency property. (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. This is a dependency property. (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 or sets the brush used to draw the item's text. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets the contents of the tooltip displayed when the mouse pointer rests over the diagram element. (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 the object. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
Gets the size of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
DiagramNode.GetOutlinePoly override. |
|
![]() |
Makes the shape node as big as the image it displays. |
|
![]() |
Makes the shape node big enough to display its text without clipping. |
Name | Description | |
---|---|---|
![]() |
DiagramItem.CreateState override. |
|
![]() |
DiagramNode.GetOutline override. |
|
![]() |
Loads the item content from an XML element. |
|
![]() |
DiagramItem.RestoreState override. |
|
![]() |
DiagramItem.SaveState override. |
|
![]() |
Saves the item content into an XML element. |
|
![]() |
DiagramNode.UpdateVisuals override. |
Name | Description | |
---|---|---|
![]() |
Determines whether the node can be connected with links of the specified type. (Inherited from DiagramNode.) |
|
![]() |
Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it. (Inherited from DiagramNode.) |
|
![]() |
Attaches this node to the specified master node so that when the master is moved, the attached node follows it. (Inherited from DiagramNode.) |
|
![]() |
Creates a copy of this item. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.ContainsPoint override. (Inherited from DiagramNode.) |
|
![]() |
Overloaded. (Inherited from DiagramNode.) |
|
![]() |
Gets a collection of all links entering this node. (Inherited from DiagramNode.) |
|
![]() |
Gets all links connected to this node. (Inherited from DiagramNode.) |
|
![]() |
Get a collection of all links going out of this node. (Inherited from DiagramNode.) |
|
![]() |
Gets the bounding rectangle of this item. (Inherited from DiagramNode.) |
|
![]() |
Gets the center of this node's bounding rectangle. (Inherited from DiagramNode.) |
|
![]() |
Calculates the intersecion point between the segment defined by the specified point pair and the node's outline. (Inherited from DiagramNode.) |
|
![]() |
Returns a point that lies on the outline of this node, at the shortest distance from the specified point. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.GetOutlinePoly override. (Inherited from DiagramNode.) |
|
![]() |
Gets the repaint region for this item, taking into account factors such as pen, selection handles and shadow. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.HitTestHandle override. (Inherited from DiagramNode.) |
|
![]() |
Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.) |
|
![]() |
FrameworkElement.OnApplyTemplate override. (Inherited from DiagramNode.) |
|
![]() |
Called when the location and size of this node change. (Inherited from DiagramNode.) |
|
![]() |
Invoked when a diagram item is being dragged out of this node. (Inherited from DiagramNode.) |
|
![]() |
Invoked when a diagram item is being dragged over this node. (Inherited from DiagramNode.) |
|
![]() |
Invoked when a diagram item is dropped over this node. (Inherited from DiagramNode.) |
|
![]() |
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. (Inherited from DiagramNode.) |
|
![]() |
Reassigns unanchored links (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.RestoreLocationState override. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.SaveLocationState override. (Inherited from DiagramNode.) |
|
![]() |
Sets the location and size of this node. (Inherited from DiagramNode.) |
|
![]() |
Transforms a point in diagram coordinates to item coordinates. (Inherited from DiagramItem.) |
|
![]() |
Gets the diagram coordinates of a point specified in the local coordinate system of this item. (Inherited from DiagramItem.) |
|
![]() |
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 the AnchorPatern points to the node's Adorner. (Inherited from DiagramNode.) |
|
![]() |
Adds the ExpandButton to the node's Adoner. (Inherited from DiagramNode.) |
|
![]() |
Overloaded. (Inherited from DiagramNode.) |
|
![]() |
Invoked to validate the drag operation. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.CancelDrag override. (Inherited from DiagramNode.) |
|
![]() |
Creates a Path that represents the specified AnchorPoint. (Inherited from DiagramNode.) |
|
![]() |
Creates a connection point between this node and the specified link at the specified point. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.CreateState override. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.EndDrag override. (Inherited from DiagramNode.) |
|
![]() |
Creates a Geometry object that describes the outline of the node. (Inherited from DiagramNode.) |
|
![]() |
Overloaded. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.LoadFromXml override. (Inherited from DiagramNode.) |
|
![]() |
Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramNode.) |
|
![]() |
Called when a group child node has been modified. (Inherited from DiagramItem.) |
|
![]() |
Called after successful deserialization. (Inherited from DiagramItem.) |
|
![]() |
Control.OnLostMouseCapture override. (Inherited from DiagramItem.) |
|
![]() |
Called when the diagram's MeasureUnit changes. (Inherited from DiagramNode.) |
|
![]() |
Control.OnMouseEnter override. (Inherited from DiagramItem.) |
|
![]() |
Control.OnMouseLeave override. (Inherited from DiagramItem.) |
|
![]() |
Control.OnMouseLeftButtonDown override. (Inherited from DiagramItem.) |
|
![]() |
Control.OnMouseLeftButtonUp override. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.OnRemove override. (Inherited from DiagramNode.) |
|
![]() |
Removes the AnchorPatern points from the node's Adorner. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.RemoveHandlesFromCanvas override. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.RestoreState override. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.SaveState override. (Inherited from DiagramNode.) |
|
![]() |
Saves the item content into an XML element. (Inherited from DiagramNode.) |
|
![]() |
Scales the node's elements by specified amount. (Inherited from DiagramNode.) |
|
![]() |
Sets the incoming links collection of this node. (Inherited from DiagramNode.) |
|
![]() |
Sets the outgoing links collection of this node. (Inherited from DiagramNode.) |
|
![]() |
Invoked to let a node set the shape of a reflexive link connected to it. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.StartDrag override. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.UpdateDrag override. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.UpdateHandleColors override. (Inherited from DiagramNode.) |
|
![]() |
DiagramItem.UpdateHandlePositions override. (Inherited from DiagramNode.) |
|
![]() |
Sets the current VisualStates of this item. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.UpdateVisuals override. (Inherited from DiagramNode.) |