MindFusion.Wpf Pack Programmer's Guide
ShapeNode Properties
 


 Public Properties

  Name Description

Adorner

A Visual that contains the item's adjustment handles. (Inherited from DiagramItem.)

AllowFlip

Gets or sets a value indicating whether the node's shape flips when an edge is dragged over its opposite edge.

AllowIncomingLinks

Gets or sets a value indicating whether users are allowed to draw incoming links to this node. (Inherited from DiagramNode.)

AllowOutgoingLinks

Gets or sets a value indicating whether users are allowed to draw outgoing links from this node. (Inherited from DiagramNode.)

AnchorPattern

Gets or sets the anchor points to which links are attached when connected to the node. (Inherited from DiagramNode.)

Bounds

Gets or sets the rectangle that defines the position of the diagram node. (Inherited from DiagramNode.)

Brush

Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.)

ClipImage

Gets or sets a value indicating whether to clip the Image assigned to this node to fit into the shape's geometry.

ClipText

Gets or sets a value indicating whether to clip the text assigned to this node to fit into the shape's geometry.

ConstrainedHeight

Gets whether text layout area has limited height. (Inherited from DiagramItem.)

Constraints

Allows applying constraints to the location and size of the node. (Inherited from DiagramNode.)

Container

Gets the parent ContainerNode containing this node. (Inherited from DiagramNode.)

CustomDraw

Gets or sets the type of custom drawing performed on this shape node.

Effects

Gets a collection with all effects applied to this node. (Inherited from DiagramNode.)

EnabledHandles

Gets or sets the kinds of modifications that end-users are permitted to perform on the node. (Inherited from DiagramNode.)

EnableStyledText

Gets or sets a value indicating whether styled text rendering is enabled.

Expandable

Gets or sets a value indicating whether users are allowed to expand or collapse the subtree that starts from this node. (Inherited from DiagramNode.)

Expanded

Gets or sets a value indicating whether the subtree starting from this node is expanded. (Inherited from DiagramNode.)

FlipImage

Gets or sets a value indicating whether the Image bitmap should be flipped when the shape node is flipped (FlipX and/or FlipY are enabled).

FlipX

Gets or sets a value indicating whether the node's shape is flipped horizontally.

FlipY

Gets or sets a value indicating whether the node's shape is flipped vertically.

FontFamily

Gets or sets the preferred font family for this DiagramItem. (Inherited from DiagramItem.)

FontSize

Gets or sets the font size for this DiagramItem. (Inherited from DiagramItem.)

FontStretch

Gets or sets the font-stretching characteristics for this DiagramItem. (Inherited from DiagramItem.)

FontStyle

Gets or sets the font style for this DiagramItem. (Inherited from DiagramItem.)

FontWeight

Gets or sets the font weight for this DiagramItem. (Inherited from DiagramItem.)

GridAlignPoint

Gets or sets the node's point that should align to a grid point when the node is moved. (Inherited from DiagramNode.)

HandlesStyle

Gets or sets a value indicating how the node adjustment handles behave and what do they look like. (Inherited from DiagramNode.)

HyperLink

Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.)

Id

Gets or sets user-defined identifier associated with this item. (Inherited from DiagramItem.)

IgnoreLayout

Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.)

Image

Gets or sets the image that is displayed in this shape node.

ImageAlign

Gets or sets the alignment of the image displayed in this shape node.

ImagePadding

Gets or sets the padding distance between node's borders and Image.

IncomingLinks

Gets a collection of links that point to the node. (Inherited from DiagramNode.)

Labels

Returns the list of supplementary labels displayed by this node. (Inherited from DiagramNode.)

LayerIndex

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

LayoutTraits

Contains properties specific to each layout algorithm. (Inherited from DiagramItem.)

Locked

Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.)

MasterGroup

Gets a reference to the group to which this node is attached. (Inherited from DiagramNode.)

MasterItem

Returns the node's Container or main item of MasterGroup. (Inherited from DiagramNode.)

Obstacle

Gets or sets a value indicating whether this node is considered an obstacle by the link-routing algorithm. (Inherited from DiagramNode.)

OutgoingLinks

Gets a collection of links that start from this node. (Inherited from DiagramNode.)

Parent

Gets the diagram that contains this item. (Inherited from DiagramItem.)

PlainText

Gets the plain text of this shape node.

PolygonalTextLayout

Gets or sets a flag indicating whether node's Text is formatted in non-rectangular outline.

Printable

Gets or sets a value indicating whether to print the item. (Inherited from DiagramItem.)

RotateImage

Gets or sets a value indicating whether the Image should be rotated when the shape node is rotated.

RotateText

Gets or sets a value indicating whether the Text should be rotated when the shape node is rotated.

RotationAngle

Gets or sets the rotation angle of this node. (Inherited from DiagramNode.)

RuntimeIndex

For internal use. (Inherited from DiagramItem.)

Selected

Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.)

Shape

Gets or sets a reference to the node's geometric shape definition.

ShapeOrientation

Gets or sets the angle specifying the orientation with which a shape template is applied to the node bounds.

Stroke

Gets or sets the Brush that specifies how the item outline is painted. (Inherited from DiagramItem.)

StrokeDashCap

Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn. (Inherited from DiagramItem.)

StrokeDashStyle

Gets or sets the pattern of dashes and gaps used to outline items. (Inherited from DiagramItem.)

StrokeEndLineCap

Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the end of a Stroke. (Inherited from DiagramItem.)

StrokeLineJoin

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

StrokeMiterLimit

Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of an item outline element. (Inherited from DiagramItem.)

StrokeStartLineCap

Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the start of a Stroke. (Inherited from DiagramItem.)

StrokeThickness

Gets or sets the width of the DiagramItem stroke outline. (Inherited from DiagramItem.)

SubordinateGroup

Gets a reference to the group of items that are attached to this one. (Inherited from DiagramItem.)

Template

Gets or sets the DataTemplate used to display this node. (Inherited from DiagramNode.)

Text

Gets or sets the text displayed inside this item. (Inherited from DiagramItem.)

TextAlignment

Gets or sets a value that indicates the horizontal alignment of text content. (Inherited from DiagramItem.)

TextBrush

Gets or sets the brush used to draw the item's text. (Inherited from DiagramItem.)

TextDecorations

Gets or sets the effects to apply to the text of this DiagramItem. (Inherited from DiagramItem.)

TextFormat

Gets or sets the alignment of the text that is displayed inside shape nodes.

TextLinePositions

Returns position of text lines displayed by this node, as wrapped to fit the content of its Text property inside node's current size.

TextLines

Returns the lines of text as displayed by this node, wrapped to fit the content of its Text property inside node's current size.

TextPadding

Gets or sets the thickness of padding space between the item boundaries and its text. (Inherited from DiagramItem.)

TextRotationAngle

Gets or sets the text rotation angle of this node.

TextTrimming

Gets or sets the text trimming to employ when text overflows the item area. (Inherited from DiagramItem.)

TextVerticalAlignment

Gets or sets a value that indicates the vertical alignment of text content. (Inherited from DiagramItem.)

TextWrapping

Gets or sets how this DiagramItem should wrap text. (Inherited from DiagramItem.)

TopLevel

DiagramItem.TopLevel override. (Inherited from DiagramNode.)

Transparent

Gets or sets a value indicating whether this shape node is transparent.

UIElement

Gets the UIElement associated with this DiagramItem. (Inherited from DiagramItem.)

Visible

Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.)

Weight

Gets or sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.)

ZIndex

Gets or sets the z-order position of this item. (Inherited from DiagramItem.)

 Protected Properties

  Name Description

LogicalChildren

FrameworkElement.LogicalChildren override. (Inherited from DiagramNode.)

MeasureUnit

Returns the diagram measure unit. (Inherited from DiagramItem.)

Size

Gets the size of this item. (Inherited from DiagramItem.)

VisualChildrenCount

FrameworkElement.VisualChildrenCount override. (Inherited from DiagramNode.)

 See Also

ShapeNode Class
MindFusion.Diagramming.Wpf Namespace