LinkShape Properties

 

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

NameDescription
System_CAPS_pubpropertyAbsoluteBoundingBox

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

System_CAPS_pubpropertyAbsoluteBoundingBoxToEnsureVisible

Gets the bounding rectangle that EnsureVisible will use. The rectangle is the same as AbsoluteBoundingBox but with height adjusted to be non-zero when width is non-zero. This is done because for single segment Links, the Height is 0 by default and can cause the selection bounds to return as 'empty' even when a link is truly selected.(Overrides ShapeElement::AbsoluteBoundingBoxToEnsureVisible.)

System_CAPS_pubpropertyAbsoluteCenter

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

System_CAPS_pubpropertyAccessibilityObject

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

System_CAPS_pubpropertyAccessibleDefaultActionDescription

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

System_CAPS_pubpropertyAccessibleDescription

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

System_CAPS_pubpropertyAccessibleHelp

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

System_CAPS_pubpropertyAccessibleHelpTopicFileName

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

System_CAPS_pubpropertyAccessibleHelpTopicId

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

System_CAPS_pubpropertyAccessibleName

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

System_CAPS_pubpropertyAccessibleRole

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

System_CAPS_pubpropertyAccessibleState

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

System_CAPS_pubpropertyAccessibleValue

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

System_CAPS_pubpropertyAllowsChildrenInSelection

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

System_CAPS_pubpropertyAllowsChildrenToResizeParent

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

System_CAPS_pubpropertyAllowsChildrenToShrinkParent

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

System_CAPS_pubpropertyBackgroundBrushId

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

System_CAPS_pubpropertyBoundingBox

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

System_CAPS_pubpropertyCanFocus

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

System_CAPS_pubpropertyCanManuallyRoute

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

System_CAPS_pubpropertyCanMove

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

System_CAPS_pubpropertyCanMoveAnchorPoints

If true, the user can move the endpoints of this LinkShape around the boundaries of the connected shapes.

System_CAPS_pubpropertyCanSelect

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

System_CAPS_pubpropertyCenter

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

System_CAPS_protpropertyClassStyleSet

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

System_CAPS_pubpropertyClipWhenDrawingFields

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.)

System_CAPS_pubpropertyDecorators

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

System_CAPS_protpropertyDecoratorsSize

System_CAPS_protpropertyDefaultRoutingStyle

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

System_CAPS_pubpropertyDefaultShapeField

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

System_CAPS_pubpropertyDefaultSize

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

System_CAPS_pubpropertyDiagram

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

System_CAPS_pubpropertyEdgePoints

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

System_CAPS_pubpropertyEdgePointsNoJumps

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.

System_CAPS_pubpropertyEndSegmentBreakFactor

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

System_CAPS_pubpropertyEnsureVisiblePreference

Preferences for the EnsureVisible method for this Shape. Default value is to return the VisiblePreference for the Diagram hosting this Shape.(Inherited from ShapeElement.)

System_CAPS_protpropertyEvents

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

System_CAPS_pubpropertyGeometryBackgroundBrushId

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

System_CAPS_pubpropertyGeometryBoundingBox

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

System_CAPS_pubpropertyGeometryHasFilledBackground

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

System_CAPS_pubpropertyGeometryHasOutline

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

System_CAPS_pubpropertyGeometryHasShadow

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

System_CAPS_pubpropertyGeometryOutlinePenId

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

System_CAPS_pubpropertyGeometryStyleSet

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

System_CAPS_pubpropertyGridSize

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.)

System_CAPS_pubpropertyHasChildren

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

System_CAPS_protpropertyHasCustomToolTip

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

System_CAPS_pubpropertyHasDragOverToolTip

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

System_CAPS_pubpropertyHasFilledBackground

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

System_CAPS_pubpropertyHasHighlighting

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

System_CAPS_pubpropertyHasOutline

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

System_CAPS_pubpropertyHasShadow

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

System_CAPS_pubpropertyHasToolTip

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

System_CAPS_pubpropertyId

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

System_CAPS_pubpropertyIsActive

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

System_CAPS_pubpropertyIsDeleted

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

System_CAPS_pubpropertyIsDeleting

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

System_CAPS_pubpropertyIsNestedChild

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

System_CAPS_pubpropertyIsRelativeChild

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

System_CAPS_pubpropertyIsVisible

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.)

System_CAPS_pubpropertyLineAdjustAwayDefault

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.)

System_CAPS_pubpropertyLineAffinityDefault

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

System_CAPS_pubpropertyLineToLineClearance

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

System_CAPS_pubpropertyLineToNodeClearance

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

System_CAPS_pubpropertyManuallyRouted

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.

System_CAPS_pubpropertyMaximumSize

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

System_CAPS_pubpropertyMinimumSize

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

System_CAPS_pubpropertyModelElement

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

System_CAPS_pubpropertyNestedChildShapes

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.)

System_CAPS_pubpropertyNestedShapesMargin

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

System_CAPS_pubpropertyNodes

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

System_CAPS_pubpropertyNodeToNodeClearance

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

System_CAPS_pubpropertyOutlinePenId

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

System_CAPS_pubpropertyOutlinePenWidth

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

System_CAPS_protpropertyPaintMoveableDecoratorSelectionLines

(Inherited from ShapeElement.)

System_CAPS_protpropertyParentLink

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

System_CAPS_pubpropertyParentShape

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

System_CAPS_pubpropertyPartition

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

System_CAPS_pubpropertyPerimeter

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

System_CAPS_pubpropertyRelatedShapeToEmphasize

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

System_CAPS_pubpropertyRelativeChildShapes

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

System_CAPS_pubpropertyRouteJumpType

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

System_CAPS_pubpropertyRoutingStyle

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

System_CAPS_pubpropertyShapeFields

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

System_CAPS_pubpropertyShapeGeometry

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.)

System_CAPS_pubpropertyShouldTryParentShapeForMergeOnToolboxDoubleClick

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.)

System_CAPS_pubpropertyStore

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

System_CAPS_pubpropertyStyleSet

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

System_CAPS_pubpropertySubject

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

System_CAPS_pubpropertyTargetToolboxItemFilterAttributes

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

System_CAPS_pubpropertyUserFixed

Gets or sets a fixed line segment.

System_CAPS_pubpropertyZOrder

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.)

Return to top
Show: