Search
DiagramItem Properties
 


 Public Properties

  Name Description

Brush

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

EffectiveBrush

Gets the effective brush of the item.

EffectiveFont

Gets the currently effective font of the item.

EffectivePen

Gets the effective pen of the item.

EffectiveShadowBrush

Gets the effective shadow brush of the item.

EffectiveTextBrush

Gets the effective text brush of the item.

Font

Gets or sets the font used to render the item's text.

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 layout properties of the node, used by some layout algorithms and by DiagramView3D.

Locked

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

Opacity

Gets or sets the opacity of this item.

Parent

Gets the diagram that contains this item.

Pen

Gets or sets the pen used to paint the frame of the 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.

ShadowBrush

Gets or sets the brush used to paint the item's shadow.

ShadowOffsetX

Gets or sets the horizontal offset of the shadow of this item.

ShadowOffsetY

Gets or sets the vertical offset of the shadow of this item.

Style

Gets or sets the style associated with the item.

SubordinateGroup

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

Tag

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

Text

Gets or sets the text displayed by this item.

TextBrush

Gets or sets the brush used to paint texts inside the item.

TextFormat

Gets or sets the alignment of text displayed inside this item.

TextPadding

Gets or sets the spacing between the item boundaries and its text.

ToolTip

Gets or sets a short text message displayed when the mouse pointer rests over the diagram element.

TopLevel

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

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.

 See Also