The DiagramElement type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DiagramElement |
Methods
| Name | Description | |
|---|---|---|
| GetStyleSelector |
When overridden in a derived class, gets the StyleSelector
applicable to this type of element.
| |
| MoveBy |
Moves the DiagramElement by the specified amounts. Diagram elements
which are not independently positioned will ignore this call.
| |
| OnApplyFormatting |
When overridden in a derived class, applies additional formatting beyond the
template and style selectors.
| |
| OnConnectionDragEnter |
Called when a ConnectionPointThumb is being dragged
over the element.
| |
| OnConnectionDragLeave |
Called when a ConnectionPointThumb that was being
dragged over the element is dragged away from the element.
| |
| OnContentChanged |
Called when the Content changes.
(Overrides ContentControl..::.OnContentChanged(Object, Object).) | |
| OnMoveBy |
When overridden in a derived class, implements the MoveBy(Double, Double) method.
| |
| OnPreviewMouseDown |
Called when the mouse is pressed over this element.
(Overrides UIElement..::.OnPreviewMouseDown(MouseButtonEventArgs).) |
Fields
| Name | Description | |
|---|---|---|
| ConnectionPointTemplateSelectorProperty |
Identifies the ConnectionPointTemplateSelector property.
|
Properties
| Name | Description | |
|---|---|---|
| Bounds |
Gets the bounds of this DiagramElement.
| |
| ConnectionPointTemplateSelector |
Gets or sets the DataTemplateSelector used to select the template
for connection points.
This is a dependency property.
| |
| LayerKeyCore |
When overridden in a derived class, gets an object identifying the layer
on which this DiagramElement is displayed, or null to specify
that the element appears on the main diagram layer.
| |
| ZIndexLayer |
Gets how the DiagramElement participates in the z-order.
|