Represents an item in the diagram document. All classes representing diagram elements derive from DiagramItem.
The following tables list the members exposed by the DiagramItem type.
Name | Description | |
---|---|---|
![]() |
Overloaded. |
Name | Description | |
---|---|---|
![]() ![]() |
Identifies the AutoCaptureMouse dependency property. |
|
![]() ![]() |
Identifies the Brush dependency property. |
|
![]() ![]() |
Identifies the HyperLink dependency property. |
|
![]() ![]() |
Identifies the IsMouseDown dependency property. |
|
![]() ![]() |
Identifies the IsMouseOver dependency property. |
|
![]() ![]() |
Identifies the StrokeDashArray dependency property. |
|
![]() ![]() |
Identifies the StrokeDashCap dependency property. |
|
![]() ![]() |
Identifies the StrokeDashOffset dependency property. |
|
![]() ![]() |
Identifies the StrokeEndLineCap dependency property. |
|
![]() ![]() |
Identifies the StrokeLineJoin dependency property. |
|
![]() ![]() |
Identifies the StrokeMiterLimit dependency property. |
|
![]() ![]() |
Identifies the Stroke dependency property. |
|
![]() ![]() |
Identifies the StrokeStartLineCap dependency property. |
|
![]() ![]() |
Identifies the StrokeThickness dependency property. |
|
![]() ![]() |
Identifies the TextBrush dependency property. |
Name | Description | |
---|---|---|
![]() |
A list of the Rectangle objects that represent the item's adjustment handles. |
Name | Description | |
---|---|---|
![]() |
Gets or sets whether the item should capture the mouse input when the left button is pressed over it. This is a dependency property. |
|
![]() |
Gets or sets the Brush that specifies how to paint the interior of the item. This is a dependency property. |
|
![]() |
Gets the parent diagram. |
|
![]() |
Gets or sets a value indicating how the node adjustment handles behave and what do they look like. |
|
![]() |
Gets or sets the hyperlink associated with this diagram item. This is a dependency property. |
|
![]() |
Gets or sets user-defined identifier associated with this item. |
|
![]() |
Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. |
|
![]() |
Gets a value indicating whether the mouse button is pressed over this item. This is a dependency property. |
|
![]() |
Gets a value indicating whether the mouse pointer is located over this item. This is a dependency property. |
|
![]() |
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. |
|
![]() |
Contains properties specific to each layout algorithm. |
|
![]() |
Gets or sets a value indicating whether users are allowed to edit the diagram item. |
|
![]() |
For internal use. |
|
![]() |
Gets or sets a value indicating whether a diagram item is selected. |
|
![]() |
Gets or sets the Brush that specifies how the item outline is painted. |
|
![]() |
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. |
|
![]() |
Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn. |
|
![]() |
Gets or sets a double value that specifies the distance within the dash pattern where a dash begins. This is a dependency property. |
|
![]() |
Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the end of a Stroke. |
|
![]() |
Gets or sets a PenLineJoin enumeration value that specifies the type of join that is used at the vertices of the item's outline. |
|
![]() |
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. |
|
![]() |
Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the start of a Stroke. |
|
![]() |
Gets or sets the width of the DiagramItem stroke outline. |
|
![]() |
Gets or sets the brush used to draw the item's text. |
|
![]() |
Gets or sets the contents of the tooltip displayed when the mouse pointer rests over the diagram element. |
|
![]() |
Gets or sets a value indicating whether this item is visible. |
|
![]() |
Gets or sets a weight value used in layout and path-finding algorithms. |
|
![]() |
Gets or sets the z-order position of the object. |
Name | Description | |
---|---|---|
![]() |
Gets the size of this item. |
Name | Description | |
---|---|---|
![]() |
Creates a copy of this item. |
|
![]() |
Determines whether this item contains the specified point. |
|
![]() |
Gets the bounding rectangle of this item. |
|
![]() |
Gets a polygon approximating the outline of this object. |
|
![]() |
Gets the repaint region for this item, taking into account factors such as pen, selection handles and shadow. |
|
![]() |
Gets the bounding rectangle of this item when it is rotated. |
|
![]() |
Determines whether a selection handle of this item is located at the specified point. |
|
![]() |
Gets whether the user is prevented from manipulating this item. |
|
![]() |
Control.OnApplyTemplate override. |
|
![]() |
Returns the items that can be reached from this item by following the path specified in the given query expression. |
|
![]() |
Restores the state of this diagram item. |
|
![]() |
Saves the state of this diagram item. |
|
![]() |
Transforms a point in diagram coordinates to item coordinates. |
|
![]() |
Gets the diagram coordinates of a point specified in the local coordinate system of this item. |
|
![]() |
Moves the item to the bottom of the z-order. |
|
![]() |
Moves the item one level down in the z-order. |
|
![]() |
Moves the item one level up in the z-order. |
|
![]() |
Moves the item to the top of the z-order. |
Name | Description | |
---|---|---|
![]() |
Overloaded. |
|
![]() |
Invoked to validate the drag operation. |
|
![]() |
Invoked when the interactive modification of this object has been canceled. |
|
![]() |
Creates an item state corresponding to the type of this diagram item. |
|
![]() |
Invoked when the user stops dragging this item. |
|
![]() |
Loads the item content from an XML element. |
|
![]() |
Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. |
|
![]() |
Called when a group child node has been modified. |
|
![]() |
Called after successful deserialization. |
|
![]() |
Control.OnLostMouseCapture override. |
|
![]() |
Called when the diagram's MeasureUnit changes. |
|
![]() |
Control.OnMouseEnter override. |
|
![]() |
Control.OnMouseLeave override. |
|
![]() |
Control.OnMouseLeftButtonDown override. |
|
![]() |
Control.OnMouseLeftButtonUp override. |
|
![]() |
Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. |
|
![]() |
Invoked when the item's selection handles should be removed. |
|
![]() |
Restores the state of this diagram item. |
|
![]() |
Saves the state of this diagram item. |
|
![]() |
Saves the item content into an XML element. |
|
![]() |
Scales the item's elements by specified amount. |
|
![]() |
Invoked when the user starts dragging this item. |
|
![]() |
Invoked while the user drags this item. |
|
![]() |
Sets the handle colors according to the current selection state of the item and the enabled bits in the EnabledHandles property. |
|
![]() |
Invoked when the item's selection handles should change their position. |
|
![]() |
Sets the current VisualStates of this item. |
|
![]() |
Invoked when an item should update its visual elements. |