ShapeNode instances are diagram nodes that represent geometric shapes.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public class ShapeNode : DiagramNode, InplaceEditable |
Visual Basic
![]() |
---|
Public Class ShapeNode |
A ShapeNode instance might represent nodes in graphs, tree, process diagrams, and so on. The shape of a node is specified by the Shape property. Shapes can be rotated, either interactively using the rotation handle above the node, or programmatically using the RotationAngle property. Shape nodes can display images and text. Set an image to be painted inside a node by assigning it to the Image property. The position of the image within the node as well as its alignment are set by the ImageAlign property. To make a node as big as its image, call ResizeToFitImage.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.DiagramNode
MindFusion.Diagramming.ShapeNode
MindFusion.Diagramming.ContainerNode