DiagramLite Programmer's Guide
DiagramItem Properties
 


 Public Properties

  Name Description

AutoCaptureMouse

Gets or sets whether the item should capture the mouse input when the left button is pressed over it. This is a dependency property.

Brush

Gets or sets the Brush that specifies how to paint the interior of the item. This is a dependency property.

Diagram

Gets the parent diagram.

HandlesStyle

Gets or sets a value indicating how the node adjustment handles behave and what do they look like.

HyperLink

Gets or sets the hyperlink associated with this diagram item. This is a dependency property.

Id

Gets or sets user-defined identifier associated with this item.

IgnoreLayout

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

IsMouseDown

Gets a value indicating whether the mouse button is pressed over this item. This is a dependency property.

IsMouseOver

Gets a value indicating whether the mouse pointer is located over this item. This is a dependency property.

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.

LayoutTraits

Contains properties specific to each layout algorithm.

Locked

Gets or sets a value indicating whether users are allowed to edit the diagram item.

RuntimeIndex

For internal use.

Selected

Gets or sets a value indicating whether a diagram item is selected.

Stroke

Gets or sets the Brush that specifies how the item outline is painted.

StrokeDashArray

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.

StrokeDashCap

Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn.

StrokeDashOffset

Gets or sets a double value that specifies the distance within the dash pattern where a dash begins. This is a dependency property.

StrokeEndLineCap

Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the end of a Stroke.

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.

StrokeMiterLimit

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.

StrokeStartLineCap

Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the start of a Stroke.

StrokeThickness

Gets or sets the width of the DiagramItem stroke outline.

TextBrush

Gets or sets the brush used to draw the item's text.

ToolTip

Gets or sets the contents of the tooltip displayed when the mouse pointer rests over the diagram element.

Visible

Gets or sets a value indicating whether this item is visible.

Weight

Gets or sets a weight value used in layout and path-finding algorithms.

ZIndex

Gets or sets the z-order position of the object.

 Protected Properties

  Name Description

Size

Gets the size of this item.

 See Also

DiagramItem Class
MindFusion.Diagramming Namespace