Search
DiagramItem Properties
 


 Public Properties

  Name Description

Adorner

A Visual that contains the item's adjustment handles.

Brush

Gets or sets the brush used to fill the interior of this item.

ConstrainedHeight

Gets whether text layout area has limited height.

FontFamily

Gets or sets the preferred font family for this DiagramItem.

FontSize

Gets or sets the font size for this DiagramItem.

FontStretch

Gets or sets the font-stretching characteristics for this DiagramItem.

FontStyle

Gets or sets the font style for this DiagramItem.

FontWeight

Gets or sets the font weight for this DiagramItem.

HyperLink

Gets or sets the hyperlink associated with this diagram item.

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.

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.

Parent

Gets the diagram that contains this item.

Printable

Gets or sets a value indicating whether to print the 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.

StrokeDashCap

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

StrokeDashStyle

Gets or sets the pattern of dashes and gaps used to outline items.

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.

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.

SubordinateGroup

Gets a reference to the group of items that are attached to this one.

Text

Gets or sets the text displayed inside this item.

TextAlignment

Gets or sets a value that indicates the horizontal alignment of text content.

TextBrush

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

TextDecorations

Gets or sets the effects to apply to the text of this DiagramItem.

TextPadding

Gets or sets the thickness of padding space between the item boundaries and its text.

TextTrimming

Gets or sets the text trimming to employ when text overflows the item area.

TextVerticalAlignment

Gets or sets a value that indicates the vertical alignment of text content.

TextWrapping

Gets or sets how this DiagramItem should wrap text.

TopLevel

True if this is a top-level item in the diagram, or false if it is inside a container.

UIElement

Gets the UIElement associated with this DiagramItem.

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 this item.

 Protected Properties

  Name Description

MeasureUnit

Returns the diagram measure unit.

Size

Gets the size of this item.

 See Also