LinkShape Members

Include Protected Members
Include Inherited Members

Represents a connector line on a diagram. See also BinaryLinkShape.

The LinkShape type exposes the following members.

Constructors

 

Name

Description

Protected method

LinkShape

Initializes a new instance of the LinkShape class.

Top

Methods

 

Name

Description

Public method

AccessibleDoDefaultAction

Performs the default action for the accessible object. (Inherited from ShapeElement.)

Public method

Associate

Assigns a model element to the presentation element. The same effect as setting ModelElement. (Inherited from PresentationElement.)

Protected method

CalculateDerivedVisible

Verifies whether the child shape appears. (Inherited from ShapeElement.)

Protected method

CanMerge

Verifies whether a source element can be added to this element. (Inherited from ModelElement.)

Protected method

ChooseMergeTarget

Overloaded. Selects a target element that the root element should merge with.

Public method

ChooseParentShape

Selects a parent shape for a new child shape, typically this shape. (Inherited from ShapeElement.)

Protected method

ChooseRelationship

Selects which child list a new child shape should be added to – NestedChildShapes or RelativeChildShapes. (Inherited from ShapeElement.)

Public method

CoerceSelection

Allows a shape to determine which other shapes are selected. (Inherited from ShapeElement.)

Public method

Copy

Overloaded. Creates a copy of this element in the model.

Protected method

CreateChildShape

Creates a shape and adds it as a child to this shape. (Inherited from ShapeElement.)

Protected method

CreateClassStyleSet

Creates a class style set for the shape type. (Inherited from ShapeElement.)

Protected method

CreateDecorators

Creates a collection of decorators for the shape type. (Inherited from ShapeElement.)

Protected method

CreateInstanceStyleSet

Creates a style set for the shape. (Inherited from ShapeElement.)

Protected method

CreateShapeFields

Creates a collection of shape fields for the shape type. (Inherited from ShapeElement.)

Public method

Delete

Overloaded. Deletes the element from the model.

Protected method

DetermineHighlightShape

Finds the highlighted shape in a chain of shapes. (Inherited from ShapeElement.)

Public method

Disconnect

Disconnects the link shape from other shapes.

Public method

DoFoldToShape

Calculates the point where a connector will touch the perimeter of a shape. Override this if you define a non-rectangular shape. (Inherited from ShapeElement.)

Public method

DoHitTest

Overloaded. Returns true if a specified point is within the shape.

Public method

DoHitTestSelection

Returns true if a given point is in the selection handles around the shape. (Inherited from ShapeElement.)

Public method

DoKeyboardNavigation

Navigates the from shape to shape, using the keyboard. (Inherited from ShapeElement.)

Public method

DrawResizeFeedback

Draws the resizing feedback for the shape. (Inherited from ShapeElement.)

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Public method

ExcludeFromClipRegion

Excludes the shape and its child shapes from the clipping region. (Inherited from ShapeElement.)

Public method

ExcludeGeometryFromClipRegion

Excludes the geometry of a shape and its child shapes from the clipping region. (Inherited from ShapeElement.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

FindDecorator

Finds the shape decorator that has a given name. (Inherited from ShapeElement.)

Public method

FindFirstChild

Searches for the first child in the navigation sequence for the shape. (Inherited from ShapeElement.)

Public method

FindFreeArea

Finds an empty area on the grid for the shape. (Inherited from ShapeElement.)

Public method

FindLastChild

Searches for the last child in the navigation sequence for the shape. (Inherited from ShapeElement.)

Public method

FindNextChild

Searches for the next child in the navigation sequence for the shape. (Inherited from ShapeElement.)

Public method

FindNextInChildFields

Searches for the next shape field in the navigation sequence. (Inherited from ShapeElement.)

Public method

FindPreviousChild

Searches for the previous child in the navigation sequence for the shape. (Inherited from ShapeElement.)

Public method

FindPreviousInChildFields

Searches for the previous shape field in the navigation sequence. (Inherited from ShapeElement.)

Public method

FindShapeField

Searches for a shape field in a shape. (Inherited from ShapeElement.)

Public method

FixUpChildShapes

Creates or adjusts the child shapes that should be created when a model element is created or updated. Called by Diagram.FixUpDiagram(). (Inherited from ShapeElement.)

Public method

Focused

Verifies whether the shape has the focus. (Inherited from ShapeElement.)

Public method

GetAccessibilityObject

Gets the accessible object that is assigned to the shape. (Inherited from ShapeElement.)

Public method

GetChildElements

Gets a collection of child shapes that belong to the parent shape. (Inherited from ShapeElement.)

Public method

GetCursor

Gets the pointer that appears when the mouse is over the shape. (Inherited from ShapeElement.)

Public method

GetDomainClass

Gets the most-derived domain class for this element. (Inherited from ModelElement.)

Public method

GetDragOverToolTipText

Gets the tooltip text that appears when the mouse is over the shape. (Inherited from ShapeElement.)

Public method

GetEdgePointsValue

Use EdgePoints or EdgePointsNoJumps.

Public method

GetFieldAccessibleDescription

Gets the description for a field in the shape. (Inherited from ShapeElement.)

Public method

GetFieldAccessibleName

Gets the name of a field in the shape. (Inherited from ShapeElement.)

Public method

GetFieldAccessibleValue

Gets the value for a field in the shape. (Inherited from ShapeElement.)

Public method

GetFieldRepresentedElement

Gets the primary element that the child shape represents. (Inherited from ShapeElement.)

Public method

GetFieldRepresentedProperty

Gets the property information for a field in the shape. (Inherited from ShapeElement.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetPotentialMouseAction

Gets the mouse action to perform for a mouse down event over a specific point in the diagram. (Inherited from ShapeElement.)

Public method

GetShapeLuminosity

Calculates the luminosity of the shape. (Inherited from ShapeElement.)

Public method

GetSubFieldAccessibleDescription

Gets the description for a child field in the shape. (Inherited from ShapeElement.)

Public method

GetSubFieldAccessibleName

Gets the name of a child field in the shape. (Inherited from ShapeElement.)

Public method

GetSubFieldAccessibleValue

Gets the value for a child field in the shape. (Inherited from ShapeElement.)

Public method

GetSubFieldRepresentedElements

Gets a collection of elements that the shape for the child field represents. (Inherited from ShapeElement.)

Public method

GetSubFieldRepresentedProperty

Gets the property for the child field. (Inherited from ShapeElement.)

Public method

GetSubFieldRepresentedPropertyElements

Gets the element that contains the property for the child field. (Inherited from ShapeElement.)

Public method

GetToolTipText

Gets the tooltip text for the shape to which the mouse is pointing. (Inherited from ShapeElement.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

HasCachedDragOverResult

Verifies whether the results are cached for the drag-over mouse event. (Inherited from ShapeElement.)

Public method

Hide

Hides the shape and all its children. (Inherited from ShapeElement.)

Protected method

HideCustomToolTip

Hides the custom tooltip for the shape. (Inherited from ShapeElement.)

Protected method

InitializeDecorators

Initializes and adds fields to the shape type. (Inherited from ShapeElement.)

Protected method

InitializeInstanceResources

Initializes the resources for an instance of the shape. (Inherited from ShapeElement.)

Protected method

InitializeResources

Initializes the resources for the shape. (Inherited from ShapeElement.)

Protected method

InitializeShapeFields

Initializes the list of fields that represent parts of the shape such as labels, icons, rows of text, and background images. Called once per class. (Inherited from ShapeElement.)

Public method

Invalidate

Overloaded.

Public method

IsDescendantOf

Verifies whether the shape is a descendent of another shape. (Inherited from ShapeElement.)

Protected method

IsNavigationKey

Overloaded. Verifies whether the key is used for navigation in the shape.

Public method

IsRouted

True if the link shape has been routed and the EdgePoints are valid, false if the link will be routed later.

Public method

IterateShapes

Iterates through a shape and its child shapes. (Inherited from ShapeElement.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

MergeConfigure

Not used for presentation elements. (Inherited from PresentationElement.)

Protected method

MergeDisconnect

Disconnects a source element from a target element. (Inherited from ModelElement.)

Protected method

MergeRelate

Creates a relationship between a model element and a group of model elements. (Inherited from PresentationElement.)

Protected method

ModifyLuminosity

Calculates the luminosity of the highlight for the shape. (Inherited from ShapeElement.)

Public method

MoveByRepositioning

Overloaded. Repositions the shapes in the group by the amount that the position of the mouse determines.

Public method

NavigateAscend

Called in response to user’s keystroke navigation to set the focus to the nearest focusable ancestor. (Overrides ShapeElement.NavigateAscend(SelectedShapesCollection).)

Public method

NavigateDescend

Navigates to the next descendent in the navigation sequence and updates the focus. Called in response to user navigation keystrokes. (Inherited from ShapeElement.)

Protected method

NavigateTo

Navigates to a specific shape in the navigation sequence and updates the focus. (Inherited from ShapeElement.)

Public method

NavigateToFirst

Called in response to user’s keystroke navigation to set the focus on the first child of the parent of the current focus. (Overrides ShapeElement.NavigateToFirst(SelectedShapesCollection).)

Public method

NavigateToLast

Called in response to user’s keystroke navigation to set the focus to the last child of the parent of the current focus. (Overrides ShapeElement.NavigateToLast(SelectedShapesCollection).)

Public method

NavigateToNext

Called in response to user’s keystroke navigation to set the focus to the next focusable item in the focus sequence. (Overrides ShapeElement.NavigateToNext(SelectedShapesCollection).)

Public method

NavigateToPrevious

Called in response to user’s keystroke navigation to set the focus to the previous item in the focusing sequence. (Overrides ShapeElement.NavigateToPrevious(SelectedShapesCollection).)

Protected method

OnAssociatedPropertyChanged

Updates the shape when the value of an in-memory store property changes for a field in the shape. (Inherited from ShapeElement.)

Protected method

OnBeforePaint

Updates resources, such as pens and brushes, before they are used to paint the shape. (Inherited from ShapeElement.)

Public method

OnBeginEdit

Called when the user starts to edit a text field. (Inherited from ShapeElement.)

Public method

OnBoundsFixup

Called when the bounds position and size of the parent and children are set or adjusted. Override to modify the size or internal layout. (Inherited from ShapeElement.)

Protected method

OnChildConfigured

Called when the positions and sizes of child shapes are about to be determined. Override to set specialized rules. (Inherited from ShapeElement.)

Protected method

OnChildConfiguring

Called after the size and position of a child shape has been determined. (Inherited from ShapeElement.)

Public method

OnClick

Called when the user clicks the shape. (Inherited from ShapeElement.)

Protected method

OnCopy

Alerts listeners that a copy of the element has been created. (Inherited from ModelElement.)

Protected method

OnDeleted

Alerts listeners that an element has been deleted from the model. (Inherited from ModelElement.)

Protected method

OnDeleting

Alerts listeners that the element is being deleted. (Inherited from ModelElement.)

Public method

OnDoubleClick

Called when the user double-clicks the shape. (Inherited from ShapeElement.)

Public method

OnDragDrop

Called when the user drags an item onto the shape. (Inherited from ShapeElement.)

Public method

OnDragEnter

Called when the mouse enters a shape during a drag operation. (Inherited from ShapeElement.)

Public method

OnDragLeave

Called when the mouse moves out of a shape. (Inherited from ShapeElement.)

Public method

OnDragOver

Override this method to respond to the movement of the mouse over the shape. Set e.Effect to indicate the cursor feedback to the user. (Inherited from ShapeElement.)

Public method

OnEndEdit

Called when the user ends editing a text field. (Inherited from ShapeElement.)

Public method

OnInitialize

Called to initialize the shape. Override this to attach event handlers and rules to this object. (Inherited from ShapeElement.)

Public method

OnKeyDown

Called when a key is pressed. (Inherited from ShapeElement.)

Public method

OnKeyPress

Called when a character is typed. (Inherited from ShapeElement.)

Public method

OnKeyUp

Called when a key is released. (Inherited from ShapeElement.)

Public method

OnMouseDown

Called when the user presses a mouse key. (Inherited from ShapeElement.)

Public method

OnMouseEnter

Called when the mouse enters a shape. (Inherited from ShapeElement.)

Public method

OnMouseHover

Called when the mouse hovers over a shape. (Inherited from ShapeElement.)

Public method

OnMouseLeave

Called when the mouse leaves a shape. (Inherited from ShapeElement.)

Public method

OnMouseMove

Called repeatedly when the user moves the mouse. (Inherited from ShapeElement.)

Public method

OnMouseUp

Called when a mouse button is released. (Inherited from ShapeElement.)

Public method

OnMouseWheel

Called when the user has rotated the mouse wheel. (Inherited from ShapeElement.)

Public method

OnOrphaned

Called when a (Inherited from ShapeElement.)

Public method

OnPaintEmphasis

Called when emphasis has been applied to the selected shape. (Inherited from ShapeElement.)

Public method

OnPaintFeedback

Called when drag-and-drop feedback is painted. (Inherited from ShapeElement.)

Public method

OnPaintSelection

Called to paint the selection highlight. (Inherited from ShapeElement.)

Public method

OnPaintShape

Called to paint the basic parts of the shape. (Inherited from ShapeElement.)

Protected method

OnResurrected

Alerts listeners that an element has been added back to a model. (Inherited from ModelElement.)

Protected method

OnRolePlayerPositionChanged

Alerts listeners that the position of a role is about to change. (Inherited from ModelElement.)

Protected method

OnRolePlayerPositionChanging

Allows notification when a role player position has changed. (Inherited from ModelElement.)

Public method

OnShapeInserted

Called when a shape has been inserted as a child of another. (Inherited from ShapeElement.)

Public method

OnShapeRemoved

Called when the shape has been removed as a child shape from its parent shape. (Inherited from ShapeElement.)

Public method

PerformResizeParentRule

Overloaded. Alerts the Domain-Specific Language Designer that a parent shape must be resized to match its child shapes.

Protected method

PermitChildVisibility

Verifies whether the child shape should appear in the diagram. (Inherited from ShapeElement.)

Protected method

ProcessVisibilityChange

Updates the visibility of the child shape when a change to visibility is made. (Inherited from ShapeElement.)

Public method

PurgeLayoutObjects

Removes the objects that are used to position the shape on the diagram grid. (Inherited from ShapeElement.)

Public method

PurgePoints

Removes points for the shape on the diagram grid. (Inherited from ShapeElement.)

Public method

RebuildShape

Rebuilds the shape. (Inherited from ShapeElement.)

Public method

RemoveLayoutObject

Removes the shape, including any relative and nested child shapes, from the diagram grid. (Inherited from ShapeElement.)

Public method

Selected

Verifies whether the shape is selected in a specified view. (Inherited from ShapeElement.)

Public method

SetEdgePointsValue

Use EdgePoints property.

Protected method

SetInitialGraphLayoutVisibility

Sets the visibility of the graph. (Inherited from ShapeElement.)

Public method

SetShowHideState

Sets the visibility of the shape and all its children. (Inherited from ShapeElement.)

Protected method

SetShowHideStateImplementation

Sets the visibility of the shape. (Inherited from ShapeElement.)

Protected method

ShouldAddShapeForElement

Determines whether a shape should be created to represent a given domain class instance on the diagram. (Inherited from ShapeElement.)

Public method

ShouldReparentOnMove

Verifies whether a child shape should be added to a new parent when the child shape is moved. (Inherited from ShapeElement.)

Public method

Show

Makes a shape and all its children visible. (Inherited from ShapeElement.)

Protected method

ShowCustomToolTip

Makes a shape's custom tooltip visible. (Inherited from ShapeElement.)

Public method

ToString

Gets the name of the shape and its type. (Inherited from ShapeElement.)

Public method

TranslateGeometryToAbsoluteBounds

Converts the relative bounds to absolute bounds for the shape's geometry. (Inherited from ShapeElement.)

Public method

TranslateGeometryToRelativeBounds

Converts the absolute bounds to relative bounds for the shape's geometry. (Inherited from ShapeElement.)

Public method

TranslateToAbsoluteBounds

Converts the relative bounds to absolute bounds for the shape. (Inherited from ShapeElement.)

Public method

TranslateToRelativeBounds

Converts the absolute bounds to relative bounds for the shape. (Inherited from ShapeElement.)

Protected method

UpdateDerivedVisible

Updates the visible state of the derived shape. (Inherited from ShapeElement.)

Protected method

UpdateEdgePoints

Updates the edge points for the link shape.

Public method

UpdateGeometryLuminosity

Overloaded. Updates the luminosity for the pen or brush.

Public method

UpdateGraphEdgePoints

Updates the edge points for the link shape and graphs them on the diagram.

Top

Fields

 

Name

Description

Public fieldStatic member

DomainClassId

Represents the ID for the link shape.

Public fieldStatic member

EdgePointsDomainPropertyId

Represents the ID that is assigned to the collection of edge points.

Public fieldStatic member

ManuallyRoutedDomainPropertyId

Represents the ID that is assigned to the ManuallyRouted flag.

Top

Properties

 

Name

Description

Public property

AbsoluteBoundingBox

Gets the bounding rectangle of the link shape relative to the diagram. (Overrides ShapeElement.AbsoluteBoundingBox.)

Public property

AbsoluteBoundingBoxToEnsureVisible

Gets the absolute bounding rectangle for DiagramClientView.EnsureVisible. (Inherited from ShapeElement.)

Public property

AbsoluteCenter

Gets the point in the center of the shape. (Inherited from ShapeElement.)

Public property

AccessibilityObject

Gets the accessibility object for the shape. (Inherited from ShapeElement.)

Public property

AccessibleDefaultActionDescription

Gets the default action description for the shape. (Inherited from ShapeElement.)

Public property

AccessibleDescription

Gets the description for the shape. (Inherited from ShapeElement.)

Public property

AccessibleHelp

Gets the Help for the shape. (Inherited from ShapeElement.)

Public property

AccessibleHelpTopicFileName

Gets the Help topic for the shape. (Inherited from ShapeElement.)

Public property

AccessibleHelpTopicId

Gets the ID of the Help topic for the shape. (Inherited from ShapeElement.)

Public property

AccessibleName

Gets the name of the shape. (Inherited from ShapeElement.)

Public property

AccessibleRole

Gets the role of the shape. (Inherited from ShapeElement.)

Public property

AccessibleState

Gets the state of the shape. (Inherited from ShapeElement.)

Public property

AccessibleValue

Gets the value of the shape. (Inherited from ShapeElement.)

Public property

AllowsChildrenInSelection

If true, the children of this shape can be included in the current selection group. (Inherited from ShapeElement.)

Public property

AllowsChildrenToResizeParent

true if this shape can be resized when the size or position of a child shape is changed. (Inherited from ShapeElement.)

Public property

AllowsChildrenToShrinkParent

If true, this shape will reduce in size to fit around its children when they are re-sized or moved. (Inherited from ShapeElement.)

Public property

BackgroundBrushId

Gets the ID for the brush that is used to paint the background of the shape. (Inherited from ShapeElement.)

Public property

BoundingBox

Gets the bounding rectangle of the link shape relative to its parent. (Overrides ShapeElement.BoundingBox.)

Public property

CanFocus

Gets the shape and verifies whether it can receive the focus. (Inherited from ShapeElement.)

Public property

CanManuallyRoute

true if users can manually route the link shape between elements in the diagram; otherwise, false.

Public property

CanMove

true if users can reposition the link in the diagram; otherwise, false (Overrides ShapeElement.CanMove.)

Public property

CanSelect

Gets the shape and verifies whether a user can select it. (Inherited from ShapeElement.)

Public property

Center

Gets the point in the center of the shape. (Inherited from ShapeElement.)

Protected property

ClassStyleSet

Gets the style set for the shape. (Inherited from ShapeElement.)

Public property

ClipWhenDrawingFields

Gets the child shape and verifies whether its clipping region should be set to the bounding box for the parent shape when the child shape is drawn. (Inherited from ShapeElement.)

Public property

Decorators

Gets the collection of decorators for the shape. (Inherited from ShapeElement.)

Protected property

DefaultRoutingStyle

Gets the default routing style (straight or rectilinear) for the link, set in the DSL Definition.

Public property

DefaultShapeField

Gets the default shape, which is the first shape that can receive focus. (Inherited from ShapeElement.)

Public property

DefaultSize

Gets the default size of the shape. (Inherited from ShapeElement.)

Public property

Diagram

Gets the diagram to which the shape belongs. (Inherited from ShapeElement.)

Public property

EdgePoints

The ordered list of points bounding the straight segments of the link shape, including two points at each jumps.

Public property

EdgePointsNoJumps

The ordered list of points bounding the straight segments of the link shape. If the link has jumps, their points are not included in the list.

Public property

EndSegmentBreakFactor

Gets the length of the link shape and determines how long the last line segment in the link shape must be.

Protected property

Events

Gets the list of event handlers for the shape. (Inherited from ShapeElement.)

Public property

GeometryBackgroundBrushId

Gets the ID of the brush that is used to paint the background of the geometry. (Inherited from ShapeElement.)

Public property

GeometryBoundingBox

Gets the bounding box of the shape. (Inherited from ShapeElement.)

Public property

GeometryHasFilledBackground

Gets the shape and verifies whether its background is painted. (Inherited from ShapeElement.)

Public property

GeometryHasOutline

Gets the shape and verifies whether it has an outline. (Inherited from ShapeElement.)

Public property

GeometryHasShadow

true if the shape has a shadow; otherwise, false. (Inherited from ShapeElement.)

Public property

GeometryOutlinePenId

Gets the ID of the pen that draws the outline for the shape. (Inherited from ShapeElement.)

Public property

GeometryStyleSet

Gets the style set for the shape. (Inherited from ShapeElement.)

Public property

GridSize

Gets or sets the size of the grid to which the link’s vertices snap. If 0.0, no grid is used. (Overrides ShapeElement.GridSize.)

Public property

HasChildren

true if the shape has child shapes. (Inherited from ShapeElement.)

Protected property

HasCustomToolTip

Gets the shape and verifies whether it has a custom tooltip. (Inherited from ShapeElement.)

Public property

HasDragOverToolTip

Gets the shape and verifies whether it has a tooltip. (Inherited from ShapeElement.)

Public property

HasFilledBackground

Gets the shape and verifies whether it has a background. (Inherited from ShapeElement.)

Public property

HasHighlighting

Gets the shape and verifies whether it is highlighted. (Inherited from ShapeElement.)

Public property

HasOutline

Gets the shape and verifies whether it has an outline. (Inherited from ShapeElement.)

Public property

HasShadow

If true, the link is painted with a shadow. (Overrides ShapeElement.HasShadow.)

Public property

HasToolTip

Gets the shape and verifies whether it has a tooltip. (Inherited from ShapeElement.)

Public property

Id

Gets the ID of the element. (Inherited from ModelElement.)

Public property

IsActive

Gets the IsActive flag and verifies to see whether the element is active. (Inherited from ModelElement.)

Public property

IsDeleted

Gets the IsDeleted flag and checks to see whether the element has been deleted from the model. (Inherited from ModelElement.)

Public property

IsDeleting

Gets the IsDeleting flag and verifies whether the element is currently being deleted from the model. (Inherited from ModelElement.)

Public property

IsNestedChild

true if this shape element is in the NestedChildShapes of its ParentShape. (Inherited from ShapeElement.)

Public property

IsRelativeChild

true if this shape element is in the RelativeChildShapes of its ParentShape. (Inherited from ShapeElement.)

Public property

IsVisible

If true, the shape appears on the diagram; if false, it does not appear, and layout and routing algorithms ignore it. See also Hide() and Show(). (Inherited from ShapeElement.)

Public property

LineAdjustAwayDefault

Gets the shape and verifies whether child link shapes should try to align when they are connected to same shape or sets this value. (Inherited from ShapeElement.)

Public property

LineAffinityDefault

Gets or sets the target location where the link shape should try to position the shape. (Inherited from ShapeElement.)

Public property

LineToLineClearance

Gets or sets the distance between child link shapes for this shape. (Inherited from ShapeElement.)

Public property

LineToNodeClearance

Gets or sets the distance between child link shapes and child node shapes. (Inherited from ShapeElement.)

Public property

ManuallyRouted

True if the user has made a manual change to the routing of this link shape. False if the user has used the Reroute command, or has left the automatic routing unchanged.

Public property

MaximumSize

Gets the maximum size for the shape. (Inherited from ShapeElement.)

Public property

MinimumSize

Gets the minimum size for the shape. (Inherited from ShapeElement.)

Public property

ModelElement

Gets or sets the model element that is associated with the presentation element. (Inherited from PresentationElement.)

Public property

NestedChildShapes

The list of shapes that are part of this shape, and are constrained to appear within the boundaries of this shape or diagram. (Inherited from ShapeElement.)

Public property

NestedShapesMargin

Gets the margin between the shape's bounding box and its nested node shapes. (Inherited from ShapeElement.)

Public property

Nodes

Gets a list of shapes that are connected to the link shape.

Public property

NodeToNodeClearance

Gets or sets the margin between child node shapes. (Inherited from ShapeElement.)

Public property

OutlinePenId

Gets the ID of the pen that is used to draw the outline of the link shape. (Overrides ShapeElement.OutlinePenId.)

Public property

OutlinePenWidth

Gets the width of the outline for the shape. (Inherited from ShapeElement.)

Protected property

ParentLink

Gets the relationship instance from the shape to the parent shape. (Inherited from ShapeElement.)

Public property

ParentShape

Gets the parent shape element. To appear on a diagram, a shape or connector must have a parent. (Inherited from ShapeElement.)

Public property

Partition

Gets or sets the Partition that contains the element. (Inherited from ModelElement.)

Public property

Perimeter

Gets the perimeter (path) around the shape. (Inherited from ShapeElement.)

Public property

RelatedShapeToEmphasize

Gets the related shape to visually emphasize to the user when this shape is selected. (Inherited from ShapeElement.)

Public property

RelativeChildShapes

The list of shapes that are part of this shape, but can appear outside the boundaries of this shape. (Inherited from ShapeElement.)

Public property

RouteJumpType

Gets or sets whether the link creates a jump where it crosses another link.

Public property

RoutingStyle

Straight (from point to point) or rectilinear (made up of a series of horizontal and vertical segments).

Public property

ShapeFields

Parts of a shape such as text rows and decorators. (Inherited from ShapeElement.)

Public property

ShapeGeometry

Gets the geometry for the shape, such as Rectangle, RoundedRectangle, or Ellipse, which defines operations associated with the outline of the shape. (Inherited from ShapeElement.)

Public property

ShouldTryParentShapeForMergeOnToolboxDoubleClick

If true, when the user double-clicks a toolbox item with this shape selected, if the tool cannot be merged with this shape, then a merge with the parent shape will be attempted. Defaults to true. (Inherited from ShapeElement.)

Public property

Store

Gets the Store that contains the element. (Inherited from ModelElement.)

Public property

StyleSet

Gets an instance of the style set for the shape. (Inherited from ShapeElement.)

Public property

Subject

Gets or sets the subject for the presentation element. Defaults to the same object as ModelElement. (Inherited from PresentationElement.)

Public property

TargetToolboxItemFilterAttributes

Gets a collection of attributes that determine which items are enabled or disabled in the Toolbox. (Inherited from ShapeElement.)

Public property

UserFixed

Gets or sets a fixed line segment.

Public property

ZOrder

Determines the order in which this shape will be displayed relative to other shapes on the diagram. Normally set from the order of child shapes. (Inherited from ShapeElement.)

Top

Events

 

Name

Description

Public event

Click

Occurs when the user clicks the mouse over a shape. (Inherited from ShapeElement.)

Public event

DoubleClick

Occurs when the user double-clicks the mouse. (Inherited from ShapeElement.)

Public event

KeyDown

Occurs when the user presses a key. (Inherited from ShapeElement.)

Public event

KeyPress

Occurs when the user presses and releases a key. (Inherited from ShapeElement.)

Public event

KeyUp

Occurs when the user releases a key. (Inherited from ShapeElement.)

Public event

MouseDown

Occurs when the user presses the mouse button. (Inherited from ShapeElement.)

Public event

MouseMove

Occurs when the user moves the mouse. (Inherited from ShapeElement.)

Public event

MouseUp

Occurs when the user releases the mouse button. (Inherited from ShapeElement.)

Public event

MouseWheel

Occurs when the user rotates the mouse wheel. (Inherited from ShapeElement.)

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IMergeElements.CanMerge

(Inherited from ModelElement.)

Public method

ChooseMergeTarget

Overloaded.

Explicit interface implemetationPrivate method

IMergeElements.MergeConfigure

(Inherited from ModelElement.)

Explicit interface implemetationPrivate method

IMergeElements.MergeDisconnect

(Inherited from ModelElement.)

Explicit interface implemetationPrivate method

IMergeElements.MergeRelate

(Inherited from ModelElement.)

Top

See Also

Reference

LinkShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace