Diagram Class

 

Represents a diagram.

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


[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram.DisplayName", 
	typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram.Description", 
	typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainModelOwnerAttribute(typeof(CoreDesignSurfaceDomainModel))]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute("3102e0d1-1221-458d-834f-2dc0769ce683")]
public abstract class Diagram : NodeShape, IDisposable

NameDescription
System_CAPS_protmethodDiagram(Partition, PropertyAssignment[])

Initializes a new instance of the Diagram class.

NameDescription
System_CAPS_pubpropertyAbsoluteBoundingBox

The bounding rectangle of the shape, measured relative to the Diagram.(Inherited from NodeShape.)

System_CAPS_pubpropertyAbsoluteBoundingBoxToEnsureVisible

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

System_CAPS_pubpropertyAbsoluteBounds

A domain property that gets or sets the size and position of the bounding rectangle of the shape, measured relative to the top left of the diagram.(Inherited from NodeShape.)

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 diagram.(Overrides ShapeElement.AccessibleDescription.)

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 diagram.(Overrides ShapeElement.AccessibleName.)

System_CAPS_pubpropertyAccessibleRole

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

System_CAPS_pubpropertyAccessibleState

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

System_CAPS_pubpropertyAccessibleValue

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

System_CAPS_pubpropertyActiveDiagramView

Gets the active view for the diagram.

System_CAPS_pubpropertyAllowsChildrenInSelection

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

System_CAPS_pubpropertyAllowsChildrenToResizeParent

Gets the diagram and verifies whether it should be resized so that all elements in the diagram appear.(Overrides ShapeElement.AllowsChildrenToResizeParent.)

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_pubpropertyAnchoring

Describes how the shape should position and size itself as the parent shape moves and resizes. Alter the returned object as required.(Inherited from NodeShape.)

System_CAPS_pubpropertyAnchorPointAction

Gets the mouse action that is responsible for moving the endpoints of a link.

System_CAPS_pubpropertyAutoResizeParentOnBoundsChange

Gets the child shape and verifies whether its parent shape should be resized when the absolute bounds for the child shape change.(Inherited from NodeShape.)

System_CAPS_pubpropertyBackgroundBrushId

Gets the ID of the brush that draws the background for the diagram.(Overrides ShapeElement.BackgroundBrushId.)

System_CAPS_pubpropertyBackgroundGradientMode

Gets the gradient for the background of the shape.(Inherited from NodeShape.)

System_CAPS_protpropertyBaseFontFromEnvironment

Gets the font to use as the base font.

System_CAPS_pubpropertyBaseFontName

Gets or sets the name of the base font.

System_CAPS_pubpropertyBaseFontSize

Gets or sets the size of the base font.

System_CAPS_pubpropertyBoundingBox

Gets the bounding rectangle of the shape, measured relative to the ParentShape.(Inherited from NodeShape.)

System_CAPS_pubpropertyBounds

A domain property that gets or sets the size and position of the bounding rectangle of the shape, measured relative to the top left of the ParentShape.(Inherited from NodeShape.)

System_CAPS_pubpropertyBoundsRules

Bounds rules constrain how the user can update the size and position of the bounding rectangle. Override to return a BoundsRules.(Inherited from NodeShape.)

System_CAPS_pubpropertyCanDeserializationReroute

Gets the diagram and verifies whether it allows rerouting during serialization.

System_CAPS_pubpropertyCanExpandAndCollapse

Gets the shape and verifies whether a user can expand and collapse it.(Inherited from NodeShape.)

System_CAPS_pubpropertyCanFocus

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

System_CAPS_pubpropertyCanMove

Gets the diagram and verifies whether it can be moved.(Overrides ShapeElement.CanMove.)

System_CAPS_pubpropertyCanResize

Gets the shape and verifies whether a user can resize it.(Inherited from NodeShape.)

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_pubpropertyClientViews

Gets the list of client views that are assigned to the diagram.

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_pubpropertyConnectActionFilterString

Gets the connect action for the diagram.

System_CAPS_pubpropertyConnectionPoints

A list of points on the perimeter of a shape at which connectors can terminate. By default, a shape has no connection points, and connectors can terminate anywhere on its perimeter. (Inherited from NodeShape.)

System_CAPS_pubpropertySystem_CAPS_staticCopyOrigin

Gets the text that represents the original diagram that was copied.

System_CAPS_pubpropertyCreatableSwimLaneSubjects

Gets the list of domain classes that are linked to swimlane shapes.

System_CAPS_pubpropertyDecorators

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

System_CAPS_pubpropertyDefaultContainerMargin

Gets the margin between the diagram and its element shapes.(Overrides NodeShape.DefaultContainerMargin.)

System_CAPS_pubpropertyDefaultGridSize

Gets the size of the grid for the diagram. When the user moves a shape, its position is adjusted to align with the grid.

System_CAPS_pubpropertyDefaultShapeField

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

System_CAPS_pubpropertyDefaultSize

Gets the size of the diagram.(Overrides ShapeElement.DefaultSize.)

System_CAPS_pubpropertyDiagram

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

System_CAPS_pubpropertyDiagramId

Gets or sets the ID that is assigned to the diagram.

System_CAPS_pubpropertyDragDropPendingAction

Gets the mouse action that is responsible for initiating the drag-and-drop action.

System_CAPS_pubpropertyElementOperations

Gets the object that performs selection operations.

System_CAPS_pubpropertyEnsureVisiblePreference

Preference for the EnsureVisible method for this Diagram. By default, all ShapeElements nested in this Diagram will use this preference. ShapeElements can override this preference and choose their own.(Overrides ShapeElement.EnsureVisiblePreference.)

System_CAPS_protpropertyEvents

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

System_CAPS_pubpropertyFixedFlags

Gets the flags that determine whether a shape is fixed to its position on the diagram.(Inherited from NodeShape.)

System_CAPS_pubpropertyFocusedDiagramView

Gets the diagram view that has the focus.

System_CAPS_pubpropertyFromRoleLinkShapes

Gets the collection of link shapes for which this shape is the source.(Inherited from NodeShape.)

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_pubpropertyGeometryCanResizeBottom

Gets the shape and verifies whether the user can resize it vertically, starting at the bottom.(Inherited from NodeShape.)

System_CAPS_pubpropertyGeometryCanResizeLeft

Gets the shape and verifies whether the user can resize it horizontally, starting on the left.(Inherited from NodeShape.)

System_CAPS_pubpropertyGeometryCanResizeRight

Gets the shape and verifies whether the user can resize it horizontally, starting on the right.(Inherited from NodeShape.)

System_CAPS_pubpropertyGeometryCanResizeTop

Gets the shape and verifies whether the user can resize it vertically, starting at the top.(Inherited from NodeShape.)

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_pubpropertyGestureExtensionController

Property holds the GestureExtenstionController. This object is invoked on the various Diagram events that can be handled by GestureExtensions. This object passes on control to various GestureExtensions to hande the events. The first time this property is called, a GestureExtensionController is created and added to the Store's CompositionContainer If the CompositionContainer is null, or if the created GestureExtensionController is null, this property will return null.

System_CAPS_pubpropertyGridColor

Gets or sets the color of the grid.

System_CAPS_pubpropertyGridSize

Gets or sets the default grid size for the shapes on the diagram.(Overrides ShapeElement.GridSize.)

System_CAPS_pubpropertyGroupBoundsRules

Gets or sets the bounds rules for a specific group of shapes on the diagram.

System_CAPS_pubpropertyHasAnchoring

True if there are any settings in the Anchoring.(Inherited from NodeShape.)

System_CAPS_pubpropertyHasAssociatedViews

Gets the diagram and verifies whether it is associated with a diagram view.

System_CAPS_pubpropertyHasBackgroundGradient

Gets the shape and verifies whether it has a gradient for its background.(Inherited from NodeShape.)

System_CAPS_pubpropertyHasChildren

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

System_CAPS_pubpropertyHasConnectionPoints

True if the ConnectionPoints list is not empty.(Inherited from NodeShape.)

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 diagram and verifies whether it has an outline.(Overrides ShapeElement.HasOutline.)

System_CAPS_pubpropertyHasShadow

Gets the diagram and verifies whether it has a shadow.(Overrides ShapeElement.HasShadow.)

System_CAPS_pubpropertyHasSwimlanes

Gets the diagram and verifies whether it has swimlanes.

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_pubpropertyInvokeEditorAction

Gets the mouse action that invokes a field editor when the user presses the mouse button.

System_CAPS_pubpropertyIsActive

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

System_CAPS_pubpropertyIsCompleteView

This property is now obsolete.

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_pubpropertyIsExpanded

Gets the shape and verifies or sets whether it is expanded.(Inherited from NodeShape.)

System_CAPS_pubpropertyIsNestedChild

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

System_CAPS_protpropertyIsPlaceRouteNode

True if the shape’s position can be adjusted(Inherited from NodeShape.)

System_CAPS_pubpropertyIsPort

true if the shape is a port shape; otherwise, false.(Inherited from NodeShape.)

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_pubpropertyIsWatermarkNeeded

Gets the diagram and verifies whether a watermark should appear for it.

System_CAPS_pubpropertyLassoAction

Gets the mouse action that initiates the lasso selection.

System_CAPS_pubpropertyLayoutObjectFixedFlags

Gets or sets the flags that determine whether a shape inside the graph is fixed to its position on the diagram.(Inherited from NodeShape.)

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_pubpropertyLink

Gets a list of link shapes.(Inherited from NodeShape.)

System_CAPS_pubpropertyLocation

Gets or sets the coordinates of the top-left corner of the shape's bounds relative to its ParentShape.(Inherited from NodeShape.)

System_CAPS_pubpropertyManualRouteAction

Gets the mouse action that initiates manual line routing.

System_CAPS_pubpropertyMaximumSize

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

System_CAPS_pubpropertyMinimumResizableSize

Gets the minimum size to which the shape can be resized.(Inherited from NodeShape.)

System_CAPS_pubpropertyMinimumSize

Gets the minimum height and width of the diagram.(Overrides NodeShape.MinimumSize.)

System_CAPS_pubpropertyModelElement

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

System_CAPS_pubpropertyName

Gets or sets the name of the diagram.

System_CAPS_pubpropertyNavigationRoot

Gets the root shape for the diagram.

System_CAPS_pubpropertyNeedsRenumber

Set this true if you change the order of child shapes anywhere on the diagram. The ZOrder of each shape will be reset.

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 nested shapes in the diagram.(Overrides ShapeElement.NestedShapesMargin.)

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 draws the outline for the diagram.(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_pubpropertyPanZoomAction

Gets the mouse action that initiates zooming.

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_pubpropertyPortFixedFlags

Gets the flags that determine whether a port shape is fixed to its position.(Inherited from NodeShape.)

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_protpropertyRequiresWatermark

Gets the diagram and verifies whether a watermark should appear for it.

System_CAPS_pubpropertyResizableSides

Gets the sides of the shape that the user can resize.(Inherited from NodeShape.)

System_CAPS_pubpropertyResizeAction

Gets the mouse action that initiates the resizing of a shape.

System_CAPS_pubpropertyRouteJumpType

Gets or sets the jump style to use when a link shape crosses over another link shape on the diagram.

System_CAPS_pubpropertyRoutingStyle

Gets or sets the way link shapes are styled on the diagram.

System_CAPS_pubpropertySelectAction

Gets the mouse action that initiates the selection of a shape.

System_CAPS_pubpropertySelectionRules

Gets the rules that determine which elements in the diagram can be selected in a diagram and whether the diagram itself can be selected.

System_CAPS_pubpropertyShapeFields

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

System_CAPS_pubpropertyShapeGeometry

Gets the geometry of the diagram.(Overrides ShapeElement.ShapeGeometry.)

System_CAPS_pubpropertyShouldAutoPlaceChildShapes

Gets a shape and verifies whether its nested child shapes should be automatically positioned on the diagram.(Inherited from NodeShape.)

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_pubpropertyShowGrid

Gets the diagram and verifies whether the grid should appear for it or sets the visibility state of the diagram.

System_CAPS_pubpropertySize

Gets or sets the size of the shape.(Inherited from NodeShape.)

System_CAPS_pubpropertySnapToGrid

If true, shapes on the diagram are adjusted to align with a grid when they are moved by the user. Default value is true.

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_pubpropertySupportsPorts

Gets the diagram and verifies whether it contains ports.

System_CAPS_pubpropertyTargetToolboxItemFilterAttributes

Gets the collection of filter attributes for the toolbox that is assigned to the diagram.(Overrides ShapeElement.TargetToolboxItemFilterAttributes.)

System_CAPS_pubpropertyToolboxAction

Gets the mouse action that invokes a response when the user clicks the Toolbox.

System_CAPS_pubpropertyToRoleLinkShapes

Gets the collection of link shapes for which this shape is the target.(Inherited from NodeShape.)

System_CAPS_pubpropertyWatermarkText

Gets the watermark text that is assigned to the diagram.

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

NameDescription
System_CAPS_pubmethodAccessibleDoDefaultAction()

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

System_CAPS_pubmethodAddImageFormat(IDataObject, ICollection)

Adds the format of the diagram image to IDataObject, which is responsible for transferring data.

System_CAPS_pubmethodAssociate(DiagramView)

Displays the diagram in the specified diagram view.

System_CAPS_pubmethodAssociate(ModelElement)

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

System_CAPS_pubmethodAutoLayoutChildShapes(IDictionary)

Positions the collection of shapes in the diagram automatically.(Inherited from NodeShape.)

System_CAPS_pubmethodAutoLayoutShapeElements(ICollection)

Lays out the collection of element shapes on the diagram automatically.

System_CAPS_pubmethodAutoLayoutShapeElements(ICollection, VGRoutingStyle, PlacementValueStyle, Boolean)

Lays out the collection of element shapes on the diagram automatically.

System_CAPS_protmethodCalculateDerivedVisible(ShapeElement)

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

System_CAPS_pubmethodCalculateMinimumSizeBasedOnChildren()

Calculates the minimum size needed so that the shape can include its child shapes.(Inherited from NodeShape.)

System_CAPS_protmethodCanMerge(ProtoElementBase, ElementGroupPrototype)

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

System_CAPS_pubmethodCanShapeContainConnectors(ShapeElement)

Method used to check if a shape can host a connector. Normally, this would only be the Diagram or a Swimlane, but this behavior can be overridden by the diagram.

System_CAPS_protmethodChooseMergeTarget(ElementGroup)

Selects a target element to accept as its child an element that the user wants to copy, drag, or create.(Inherited from ModelElement.)

System_CAPS_protmethodChooseMergeTarget(ElementGroupPrototype)

Selects a target element to accept as its child an element that the user wants to copy, drag, or create.(Inherited from ModelElement.)

System_CAPS_pubmethodChooseParentShape(ShapeElement)

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

System_CAPS_protmethodChooseRelationship(ShapeElement)

Called by FixUpChildShapes() to get the relationship to create between the child shape and its parent shape.(Inherited from NodeShape.)

System_CAPS_pubmethodCoerceSelection(DiagramItem, DiagramClientView, Boolean)

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

System_CAPS_protmethodCollapse()

Collapses the shape so that its nested child shapes are not visible.(Inherited from NodeShape.)

System_CAPS_protmethodConfiguredChildPortShape(Port, Boolean)

Configures a child port shape and positions it, if necessary.(Inherited from NodeShape.)

System_CAPS_pubmethodConnectNestedChild(NodeShape, ShapeElement)

Restores graph layout objects for a nested child shape, its children and links recursively.

System_CAPS_pubmethodCopy()

Creates a copy of the element in the model.(Inherited from ModelElement.)

System_CAPS_pubmethodCopy(IEnumerable<Guid>)

Creates a copy of the element and its child links and elements. (Inherited from ModelElement.)

System_CAPS_pubmethodCopyImageToClipboard(ICollection)

Copies a collection of shapes and their parent shapes to the Clipboard as an image.

System_CAPS_protmethodCreateBackgroundGradientField(String)

Creates the area field, which displays the gradient fill in the background of the shape.(Inherited from NodeShape.)

System_CAPS_pubmethodCreateBitmap(ICollection, Diagram.CreateBitmapPreference)

Creates an image of the selected shapes.

System_CAPS_protmethodCreateChildShape(ModelElement)

Creates a child shape for the parent shape.(Overrides ShapeElement.CreateChildShape(ModelElement).)

System_CAPS_protmethodCreateClassStyleSet()

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

System_CAPS_pubmethodCreateConnectionPoint(PointD)

A connection point is a point on the edge of a shape at which connectors are terminated in preference to other points on the edge.(Inherited from NodeShape.)

System_CAPS_protmethodCreateDecorators()

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

System_CAPS_pubmethodCreateDefaultBounds(Double, Double)

Creates default bounding rectangle for the shape.(Inherited from NodeShape.)

System_CAPS_protmethodCreateGestureExtensionController()

Overridable Factory method to create a GestureExtensionController for the Diagram.

System_CAPS_protmethodCreateInstanceStyleSet()

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

System_CAPS_pubmethodCreateManualRouteAction()

Creates the mouse action for manual link routing.

System_CAPS_pubmethodCreateMetafile(ICollection)

Creates a metafile for the specified shapes and their child shapes.

System_CAPS_pubmethodCreateMetafile(ICollection, String)

Creates a metafile for the specified shapes and their child shapes.

System_CAPS_pubmethodCreateMetafile(ICollection, String, Boolean)

Creates a metafile of the specified shapes and their descendants at 100%.

System_CAPS_protmethodCreateShapeFields()

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

System_CAPS_pubmethodDelete()

Deletes an element from the model.(Inherited from ModelElement.)

System_CAPS_pubmethodDelete(Guid[])

Deletes an element from the model.(Inherited from ModelElement.)

System_CAPS_protmethodDetermineHighlightShape(ShapeElement)

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

System_CAPS_pubmethodDisassociate(DiagramView)

Removes the diagram from the specified diagram view.

System_CAPS_pubmethodDisconnectNestedChild(NodeShape)

Removes graph layout objects for a swimlane child shape, its children and links recursively.

System_CAPS_pubmethodDispose()

Releases all resources used by the Diagram.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the Diagram and optionally releases the managed resources.

System_CAPS_pubmethodDoFoldToShape(PointD, PointD)

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

System_CAPS_pubmethodDoHitTest(DiagramClientView, PointD, List<ShapeElement>, Boolean)

Performs a hit test on the diagram.

System_CAPS_pubmethodDoHitTest(PointD, DiagramHitTestInfo)

Returns true if the specified point is within the shape.(Inherited from ShapeElement.)

System_CAPS_pubmethodDoHitTest(PointD, DiagramHitTestInfo, Boolean)

Performs a hit test on the diagram.(Overrides ShapeElement.DoHitTest(PointD, DiagramHitTestInfo, Boolean).)

System_CAPS_pubmethodDoHitTestSelection(PointD, DiagramHitTestInfo)

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

System_CAPS_pubmethodDoKeyboardNavigation(Keys, DiagramClientView)

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

System_CAPS_pubmethodDrawResizeFeedback(DiagramPaintEventArgs, RectangleD)

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

System_CAPS_pubmethodEnsureConnectionPoints(LinkShape)

Override to set points on the edge of the shape at which connectors should terminate.(Inherited from NodeShape.)

System_CAPS_protmethodEnsureGraphExists()

Verifies whether the grid exists for the shape.(Inherited from NodeShape.)

System_CAPS_protmethodEnsureGraphLayoutObjectsExist(ShapeElement)

Verifies whether the shape and its child shapes are in the graph wrapper.(Inherited from NodeShape.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExcludeFromClipRegion(Graphics, Matrix, GraphicsPath)

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

System_CAPS_pubmethodExcludeGeometryFromClipRegion(Graphics, Matrix, GraphicsPath)

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

System_CAPS_protmethodExcludeShapeFromSizeCalculation(NodeShape)

If true the shape will not be taken into account to calculate the size of the parent shape(Inherited from NodeShape.)

System_CAPS_protmethodExpand()

Expands the shape so that its nested child shapes are visible and fit inside it.(Inherited from NodeShape.)

System_CAPS_protmethodFinalize()

Allows the diagram to try to free resources and perform other cleanup operations before it is reclaimed by the garbage collector. Called by the garbage collector. (Overrides Object.Finalize().)

System_CAPS_pubmethodFindDecorator(String)

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

System_CAPS_pubmethodFindFirstChild(Boolean)

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

System_CAPS_pubmethodFindFreeArea(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)

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

System_CAPS_pubmethodFindFreeArea(RectangleD)

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

System_CAPS_pubmethodFindLastChild(Boolean)

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

System_CAPS_pubmethodFindNextChild(DiagramItem, Boolean)

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

System_CAPS_pubmethodFindNextInChildFields(ShapeField, Boolean)

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

System_CAPS_pubmethodFindPreviousChild(DiagramItem, Boolean)

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

System_CAPS_pubmethodFindPreviousInChildFields(ShapeField, Boolean)

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

System_CAPS_pubmethodFindShape(ModelElement)

Finds the shape for the specified element on the diagram.

System_CAPS_pubmethodFindShapeField(String)

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

System_CAPS_pubmethodFixUpChildShapes(ModelElement)

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

System_CAPS_pubmethodSystem_CAPS_staticFixUpDiagram(ModelElement, ModelElement)

Ensures that the shape and its parent shapes are created and configured correctly.

System_CAPS_pubmethodFixUpDiagramSelection(ShapeElement)

Updates the selection in the diagram.

System_CAPS_pubmethodFocused(DiagramClientView)

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

System_CAPS_protmethodGetAbsoluteBoundsValue()

Gets the absolute bounds for the shape.(Inherited from NodeShape.)

System_CAPS_pubmethodGetAccessibilityObject(DiagramClientView)

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

System_CAPS_pubmethodGetChildElements(ModelElement)

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

System_CAPS_pubmethodGetCompliantAnchorPoint(AnchorPoint, PointD, VGRoutingStyle)

Calculates compliant AnchorPoint based of the proposedAnchorPoint parameter. This method completely ignores the co-ordinates of the anchorPoint parameter. Calculations are done based on the co-ordinates of the proposedAnchorPoint and the anchorPoint at opposite end of the link corresponding to the anchorPoint parameter.(Inherited from NodeShape.)

System_CAPS_pubmethodGetCompliantGroupBounds(ShapeElement, GhostShapeCollection, PointD)

Updates the collection of ghost shapes so that it complies with the source shape's group bounds rules.

System_CAPS_pubmethodGetCursor(Cursor, DiagramClientView, PointD)

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

System_CAPS_pubmethodGetDomainClass()

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

System_CAPS_pubmethodGetDragOverToolTipText(DiagramItem)

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

System_CAPS_pubmethodGetFieldAccessibleDescription(ShapeField)

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

System_CAPS_pubmethodGetFieldAccessibleName(ShapeField)

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

System_CAPS_pubmethodGetFieldAccessibleValue(ShapeField)

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

System_CAPS_pubmethodGetFieldRepresentedElement(ShapeField)

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

System_CAPS_pubmethodGetFieldRepresentedProperty(ShapeField)

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

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetIsExpandedValue()

Gets the value for the IsExpanded property.(Inherited from NodeShape.)

System_CAPS_pubmethodGetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo)

Gets the mouse action to initiate when the user clicks a point in the diagram.(Overrides ShapeElement.GetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo).)

System_CAPS_protmethodGetRoleCollection<TCollection, TElement>(Guid)

Gets or creates the linked element collection(Inherited from ModelElement.)

System_CAPS_pubmethodGetService(Type)

Gets a service.

System_CAPS_pubmethodGetShapeLuminosity(DiagramClientView, Color)

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

System_CAPS_protmethodGetSourceRolePlayerForLinkMappedByConnector(BinaryLinkShape)

Gets the source role for the link shape.

System_CAPS_pubmethodGetSubFieldAccessibleDescription(ShapeField, ShapeSubField)

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

System_CAPS_pubmethodGetSubFieldAccessibleName(ShapeField, ShapeSubField)

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

System_CAPS_pubmethodGetSubFieldAccessibleValue(ShapeField, ShapeSubField)

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

System_CAPS_pubmethodGetSubFieldRepresentedElements(ShapeField, ShapeSubField)

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

System_CAPS_pubmethodGetSubFieldRepresentedProperty(ShapeField, ShapeSubField)

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

System_CAPS_pubmethodGetSubFieldRepresentedPropertyElements(ShapeField, ShapeSubField)

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

System_CAPS_protmethodGetTargetRolePlayerForLinkMappedByConnector(BinaryLinkShape)

Gets the target role for the link shape.

System_CAPS_pubmethodGetToolTipText(DiagramItem)

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

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHandleNewSwimLaneInsertion(DiagramClientView, DomainClassInfo, SwimlaneShape, Boolean)

Adds a swimlane to the diagram.

System_CAPS_protmethodHasCachedDragOverResult(DiagramDragEventArgs)

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

System_CAPS_pubmethodHide()

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

System_CAPS_protmethodHideCustomToolTip(IWin32Window)

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

System_CAPS_pubmethodHitTest(RectangleD, Boolean)

Gets the shapes to include in the hit test.

System_CAPS_protmethodInitializeDecorators(IList<ShapeField>, IList<Decorator>)

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

System_CAPS_protmethodInitializeInstanceResources()

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

System_CAPS_protmethodInitializeResources(StyleSet)

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

System_CAPS_protmethodInitializeShapeFields(IList<ShapeField>)

Provides support for background gradients.(Inherited from NodeShape.)

System_CAPS_pubmethodInvalidate()

Invalidates shapes in the diagram.(Overrides ShapeElement.Invalidate().)

System_CAPS_pubmethodInvalidate(Boolean)

Makes sure that the shape will be repainted at the end of the transaction. Call this if you have changed properties of the shape.(Inherited from ShapeElement.)

System_CAPS_pubmethodInvalidate(RectangleD)

Makes sure that the shape and its old location will be repainted at the end of the transaction.(Inherited from ShapeElement.)

System_CAPS_pubmethodInvalidateRectangle(RectangleD)

Invalidates the shapes that are in the selection rectangle.

System_CAPS_pubmethodIsConnectorMappedToLink(BinaryLinkShape)

Verifies whether the link has a link shape on the diagram.

System_CAPS_pubmethodIsDescendantOf(ShapeElement)

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

System_CAPS_protmethodIsNavigationKey(Char)

Verifies whether the key is used as a navigational command.(Inherited from ShapeElement.)

System_CAPS_protmethodIsNavigationKey(Keys)

Verifies whether the key data is used as a navigational command.(Inherited from ShapeElement.)

System_CAPS_pubmethodIsOrphaned(ShapeElement)

Verifies whether a shape is linked to another shape in the diagram.

System_CAPS_pubmethodIsSelected(ShapeElement)

Verifies whether a shape is selected in a diagram view.

System_CAPS_pubmethodIterateShapes(IShapeIterator)

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

System_CAPS_pubmethodLassoSelect(RectangleD, Boolean)

Gets the list of shapes that are in the selection rectangle.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMergeConfigure(ElementGroup)

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

System_CAPS_protmethodMergeDisconnect(ModelElement)

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

System_CAPS_protmethodMergeRelate(ModelElement, ElementGroup)

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

System_CAPS_protmethodModifyLuminosity(Int32, DiagramClientView)

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

System_CAPS_protmethodMoveByRepositioning(DiagramDragEventArgs)

Repositions the shapes in the group by the amount that the position of the mouse determines.(Inherited from ShapeElement.)

System_CAPS_pubmethodMoveByRepositioning(ElementGroupPrototype, DiagramItemCollection, PointD, DiagramItem)

Repositions the shapes in the group by the amount that the position of the mouse determines.(Inherited from ShapeElement.)

System_CAPS_pubmethodNavigateAcrossLinks(SelectedShapesCollection, Boolean)

Selects the shapes or sets the focus on the shapes that are connected to this shape.(Inherited from NodeShape.)

System_CAPS_pubmethodNavigateAscend(SelectedShapesCollection)

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

System_CAPS_pubmethodNavigateDescend(SelectedShapesCollection)

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

System_CAPS_protmethodNavigateTo(DiagramItem, SelectedShapesCollection)

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

System_CAPS_pubmethodNavigateToFirst(SelectedShapesCollection)

Navigates to the first shape in the navigation sequence in the parent of the current selection. Called in response to user navigation keystrokes.(Inherited from ShapeElement.)

System_CAPS_pubmethodNavigateToLast(SelectedShapesCollection)

Navigates to the last shape in the navigation sequence in the parent of the current selection. Called in response to user navigation keystrokes.(Inherited from ShapeElement.)

System_CAPS_pubmethodNavigateToNext(SelectedShapesCollection)

Navigates to the next shape in the navigation sequence. Called in response to user navigation keystrokes.(Inherited from ShapeElement.)

System_CAPS_pubmethodNavigateToPrevious(SelectedShapesCollection)

Navigates to the previously selected shape in the navigation sequence. Called in response to user navigation keystrokes.(Inherited from ShapeElement.)

System_CAPS_pubmethodOnAbsoluteBoundsChanged(AbsoluteBoundsChangedEventArgs)

Called when the size or location of the shape have changed.(Inherited from NodeShape.)

System_CAPS_protmethodOnAssociated(DiagramAssociationEventArgs)

Performs an action when the diagram has been associated with a diagram view.

System_CAPS_protmethodOnAssociatedPropertyChanged(PropertyChangedEventArgs)

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

System_CAPS_protmethodOnBeforePaint()

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

System_CAPS_pubmethodOnBeforeReroute()

Performs an action when a link is about to be rerouted in the diagram.

System_CAPS_pubmethodOnBeginEdit(DiagramItemEventArgs)

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

System_CAPS_pubmethodOnBoundsFixup(BoundsFixupState, Int32, Boolean)

Override this method to customize how the bounds for the shape are determined.(Inherited from NodeShape.)

System_CAPS_protmethodOnChildAssociatedPropertyChanged(ShapeElement, PropertyChangedEventArgs)

Performs an action when a property that is associated with a child shape has changed.

System_CAPS_protmethodOnChildConfigured(ShapeElement, Boolean, Boolean)

Configures a port on the shape after the shape is added to the diagram.(Inherited from NodeShape.)

System_CAPS_protmethodOnChildConfiguring(ShapeElement, Boolean)

Performs an action when a child shape has been configured.(Overrides NodeShape.OnChildConfiguring(ShapeElement, Boolean).)

System_CAPS_pubmethodOnClick(DiagramPointEventArgs)

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

System_CAPS_protmethodOnCopy(ModelElement)

Called when this element has been created as a copy of another element.(Inherited from ModelElement.)

System_CAPS_protmethodOnDeleted()

Called when this element has been deleted from the model.(Inherited from ModelElement.)

System_CAPS_protmethodOnDeleting()

Called when this element is about to be deleted.(Inherited from ModelElement.)

System_CAPS_protmethodOnDisassociated(DiagramAssociationEventArgs)

Performs an action when the diagram is disassociated from a diagram view.

System_CAPS_pubmethodOnDoubleClick(DiagramPointEventArgs)

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

System_CAPS_pubmethodOnDragDrop(DiagramDragEventArgs)

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

System_CAPS_pubmethodOnDragEnter(DiagramDragEventArgs)

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

System_CAPS_pubmethodOnDragLeave(DiagramPointEventArgs)

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

System_CAPS_pubmethodOnDragOver(DiagramDragEventArgs)

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

System_CAPS_pubmethodOnElementEventsEnded(ElementEventsEndedEventArgs)

Raises an event after all other events for a transaction have been raised.

System_CAPS_pubmethodOnElementEventsEnding(ElementEventsEndedEventArgs)

Raises an event after all other events for a transaction have been raised.

System_CAPS_pubmethodOnEndEdit(DiagramItemEventArgs)

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

System_CAPS_pubmethodOnGiveFeedback(GiveFeedbackEventArgs)

Changes the pointer and performs a custom action when the pointer is dragged across the designer.

System_CAPS_pubmethodOnGridPropertyChanged()

Performs an action when the grid properties have changed.

System_CAPS_pubmethodOnInitialize()

Performs an action when the Diagram class is initialized.(Overrides ShapeElement.OnInitialize().)

System_CAPS_pubmethodOnKeyDown(DiagramKeyEventArgs)

Performs an action when the user presses a key while the diagram has the focus.(Overrides NodeShape.OnKeyDown(DiagramKeyEventArgs).)

System_CAPS_pubmethodOnKeyPress(DiagramKeyPressEventArgs)

Alerts listeners that a key has been pressed.(Inherited from NodeShape.)

System_CAPS_pubmethodOnKeyUp(DiagramKeyEventArgs)

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

System_CAPS_pubmethodOnMouseDown(DiagramMouseEventArgs)

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

System_CAPS_pubmethodOnMouseEnter(DiagramPointEventArgs)

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

System_CAPS_pubmethodOnMouseHover(DiagramPointEventArgs)

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

System_CAPS_pubmethodOnMouseLeave(DiagramPointEventArgs)

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

System_CAPS_pubmethodOnMouseMove(DiagramMouseEventArgs)

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

System_CAPS_pubmethodOnMouseUp(DiagramMouseEventArgs)

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

System_CAPS_pubmethodOnMouseWheel(DiagramMouseEventArgs)

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

System_CAPS_pubmethodOnOrphaned(SerializationResult)

Called when a (Inherited from ShapeElement.)

System_CAPS_pubmethodOnPaintEmphasis(DiagramPaintEventArgs)

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

System_CAPS_pubmethodOnPaintFeedback(DiagramPaintEventArgs)

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

System_CAPS_pubmethodOnPaintSelection(DiagramPaintEventArgs)

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

System_CAPS_pubmethodOnPaintShape(DiagramPaintEventArgs)

Lets derived classes perform an action when the diagram background and grid are painted.(Overrides ShapeElement.OnPaintShape(DiagramPaintEventArgs).)

System_CAPS_protmethodOnParentNodeShapeChanged(RectangleD, RectangleD)

This method is invoked if a) ParentShape is NodeShape b) ParentShape either moved or resized.(Inherited from NodeShape.)

System_CAPS_protmethodOnResurrected()

Called when this element has been added back to a model.(Inherited from ModelElement.)

System_CAPS_protmethodOnRolePlayerPositionChanged(DomainRoleInfo, ElementLink, Int32, Int32)

Called when the position of a role has changed.(Inherited from ModelElement.)

System_CAPS_protmethodOnRolePlayerPositionChanging(DomainRoleInfo, ElementLink, Int32, Int32)

Called when a role player position is about to change.(Inherited from ModelElement.)

System_CAPS_pubmethodOnShapeInserted()

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

System_CAPS_pubmethodOnShapeRemoved()

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

System_CAPS_pubmethodOnToolboxItemSelected(ModelingToolboxItem)

Called on selection of a ToolboxItem. (A selection is a double-click, or pressing Enter). Base implementation simply returns false, which means the selection action is not handled.

System_CAPS_pubmethodOnToolboxSelectionChanged(ModelingToolboxItem)

Called when the selection on toolbox changed (through a single-click, or pressing up/down arrow keys). Base implementation does nothing.

System_CAPS_pubmethodOnTransactionBeginning(TransactionBeginningEventArgs)

Lets derived classes perform an action when a transaction starts.

System_CAPS_pubmethodOnTransactionCommitting(TransactionCommitEventArgs)

Lets derived classes perform an action when a transaction is being committed.

System_CAPS_pubmethodOnTransactionRolledBack(TransactionRollbackEventArgs)

System_CAPS_pubmethodOnTransactionRollingBack(TransactionRollbackEventArgs)

System_CAPS_pubmethodOnViewMouseEnter(DiagramPointEventArgs)

Lets derived classes perform an action when the mouse pointer enters the diagram client view.

System_CAPS_pubmethodOnViewMouseHover(DiagramPointEventArgs)

Lets derived classes perform an action when the mouse pointer is over the diagram client view.

System_CAPS_pubmethodOnViewMouseLeave(DiagramPointEventArgs)

Lets derived classes perform an action when the mouse pointer leaves the diagram client view.

System_CAPS_pubmethodPerformLineRoutingRule()

Determines how links between elements appear in the diagram.

System_CAPS_pubmethodPerformResizeParentRule()

Alerts the Domain-Specific Language Designer that a parent shape must be resized to match its child shapes.(Inherited from ShapeElement.)

System_CAPS_pubmethodPerformResizeParentRule(Boolean, ShapeElement)

Alerts the Domain-Specific Language Designer that a parent shape must be resized to match its child shapes.(Inherited from ShapeElement.)

System_CAPS_pubmethodPerformShapeAnchoringRule()

Anchors the shape to the diagram.(Inherited from NodeShape.)

System_CAPS_protmethodPermitChildVisibility(ShapeElement)

Verifies whether the child shape can appear.(Inherited from NodeShape.)

System_CAPS_pubmethodPostDeserialization(Boolean)

Adjusts the location of shapes on the diagram after the diagram has been deserialized.

System_CAPS_pubmethodPrint(Graphics, Rectangle, PointD, Single)

Draws the diagram.

System_CAPS_protmethodProcessVisibilityChange(Boolean)

Processes a shape's change in visibility.(Inherited from NodeShape.)

System_CAPS_pubmethodPurgeLayoutObjects()

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

System_CAPS_pubmethodPurgePoints()

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

System_CAPS_pubmethodRebuildShape()

Rebuilds the shape.(Inherited from ShapeElement.)

System_CAPS_pubmethodRemoveLayoutObject()

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

System_CAPS_pubmethodRenumber()

Renumbers the shapes in the diagram.

System_CAPS_protmethodReparentSwimlaneChild(NodeShape, SwimlaneShape, GhostShapeCollection, GhostShape, PointD)

System_CAPS_pubmethodRepositionShapes(DiagramItemCollection, PointD, GhostShapeCollection, DiagramItem)

Repositions the shapes in the diagram.

System_CAPS_pubmethodReroute()

Reroutes links between elements on the diagram.

System_CAPS_pubmethodSystem_CAPS_staticRunInShapeFixupContextForMetafileCreation(ICollection, Action)

Performs a temporary fixup needed to create the metafile. After the creationLogic is called the fixup undone.

System_CAPS_pubmethodSelected(DiagramClientView)

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

System_CAPS_protmethodSetAbsoluteBoundsValue(RectangleD)

Sets the absolute bounds for the diagram.(Overrides NodeShape.SetAbsoluteBoundsValue(RectangleD).)

System_CAPS_protmethodSetInitialGraphLayoutVisibility()

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

System_CAPS_protmethodSetIsExpandedValue(Boolean)

Sets the value for the IsExpanded property.(Inherited from NodeShape.)

System_CAPS_pubmethodSetShowHideState(Boolean)

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

System_CAPS_protmethodSetShowHideStateImplementation(Boolean)

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

System_CAPS_protmethodShouldAddShapeForElement(ModelElement)

Verifies whether a shape can have a child shape assigned to it.(Overrides ShapeElement.ShouldAddShapeForElement(ModelElement).)

System_CAPS_pubmethodShouldExcludeFromInvalidationTracking(ShapeElement)

Verifies whether specific shape types should be excluded from invalidation.

System_CAPS_pubmethodShouldReparentOnMove()

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

System_CAPS_pubmethodShouldReportException(Exception)

Verifies whether an exception that is thrown from the base design surface should be reported.

System_CAPS_pubmethodShow()

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

System_CAPS_protmethodShowCustomToolTip(String, IWin32Window, Point)

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

System_CAPS_pubmethodSide(RectangleD)

Assigns a side of the shape to the port.(Inherited from NodeShape.)

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodTranslateGeometryToAbsoluteBounds(RectangleD)

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

System_CAPS_pubmethodTranslateGeometryToRelativeBounds(RectangleD)

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

System_CAPS_pubmethodTranslateToAbsoluteBounds(RectangleD)

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

System_CAPS_pubmethodTranslateToRelativeBounds(RectangleD)

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

System_CAPS_pubmethodUnhandledException(Exception)

Verifies who should report an exception that is thrown from the base design surface.

System_CAPS_protmethodUpdateChildVisibility()

Updates the visibility status for the child shape.(Inherited from NodeShape.)

System_CAPS_protmethodUpdateDerivedVisible(ShapeElement)

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

System_CAPS_pubmethodUpdateGeometryLuminosity(DiagramClientView, Brush)

Updates the luminosity for the brush.(Inherited from ShapeElement.)

System_CAPS_pubmethodUpdateGeometryLuminosity(DiagramClientView, Pen)

Updates the luminosity for the pen.(Inherited from ShapeElement.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticBaseFontNameDomainPropertyId

Represents the property ID for the base font name.

System_CAPS_pubfieldSystem_CAPS_staticBaseFontSizeDomainPropertyId

Represents the property ID for the base font size.

System_CAPS_pubfieldSystem_CAPS_staticDiagramIdDomainPropertyId

Represents the property ID for the diagram.

System_CAPS_pubfieldSystem_CAPS_staticDoLineRoutingDomainPropertyId

Represents the ID for the DoLineRoutingDomainPropertyId property.

System_CAPS_pubfieldSystem_CAPS_staticDomainClassId

Represents the ID for a domain class shape.

System_CAPS_pubfieldSystem_CAPS_staticDoResizeParentDomainPropertyId

Represents the ID for the DoResizeParentDomainPropertyId property.

System_CAPS_pubfieldSystem_CAPS_staticDoShapeAnchoringDomainPropertyId

Represents the ID for the DoShapeAnchoringDomainPropertyId property.

System_CAPS_pubfieldSystem_CAPS_staticDoViewFixupDomainPropertyId

Represents the ID for the DoViewFixupDomainPropertyId property.

System_CAPS_pubfieldSystem_CAPS_staticIsCompleteViewDomainPropertyId

Represents the ID for the IsCompleteViewDomainPropertyId property.

System_CAPS_pubfieldSystem_CAPS_staticNameDomainPropertyId

Represents the ID for the NameDomainPropertyId property.

System_CAPS_pubfieldSystem_CAPS_staticPlaceUnplacedShapesDomainPropertyId

Represents the ID for the PlaceUnplacedShapesDomainPropertyId property.

NameDescription
System_CAPS_pubeventAbsoluteBoundsChanged

Occurs when the absolute bounds for the shape change.(Inherited from NodeShape.)

System_CAPS_pubeventClick

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

System_CAPS_pubeventDiagramAdded

Occurs when a diagram is added.

System_CAPS_pubeventDiagramRemoved

Occurs when a diagram is removed.

System_CAPS_pubeventDoubleClick

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

System_CAPS_pubeventKeyDown

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

System_CAPS_pubeventKeyPress

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

System_CAPS_pubeventKeyUp

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

System_CAPS_pubeventMouseDown

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

System_CAPS_pubeventMouseMove

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

System_CAPS_pubeventMouseUp

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

System_CAPS_pubeventMouseWheel

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

NameDescription
System_CAPS_pubmethodAddExtension(DomainClassInfo)

Overloaded. Extend this ModelElement with a newly instantiated extension of the specified domain type. An InvalidOperationException will be thrown if the element already has an extension of that type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodAddExtension(ExtensionElement)

Overloaded. Extend this ModelElement with a specific extension. An InvalidOperationException will be thrown if the element already has an extension of the same type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodAddExtension(Guid)

Overloaded. Extend this ModelElement with newly instantiated extension of the identified domain type. An InvalidOperationException will be thrown if the element already has an extension of that type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodAddExtension(Type)

Overloaded. Extend this ModelElement with a newly instantiated extension of the specified type. An InvalidOperationException will be thrown if the element already has an extension of that type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodAddExtension<T>()

Overloaded. Extend this ModelElement with a newly instantiated extension of a particular type. An InvalidOperationException will be thrown if the element already has an extension of the same type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodCanDelete(Guid[])

Deletes the element from the model.(Defined by ImmutabilityExtensionMethods.)

System_CAPS_pubmethodGetAllExtensions()

Return an enumerable that performs a breadth first traversal across the tree of extension elements embedded in this ModelElement.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodGetBaseElement()

Returns the root of the virtual MEL in which the specified ModelElement is participating.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodGetDslDefinitionModelElement()

This method guarantees that the real model element corresponding to the PresentationElement is returned.

For DslDesigner PELs, the corresponding subject may actually be an internal TreeNode class and not the actual MEL.

This method handles those cases correctly so that the actual MEL is returned.(Defined by PresentationElementHelper.)

System_CAPS_pubmethodGetExtension(DomainClassInfo)

Overloaded. (Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodGetExtension(Guid)

Overloaded. (Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodGetExtension(Type)

Overloaded. Get the ExtensionElement of the specified type from the available extensions of this ModelElement. If the element has no such extension then an InvalidOperationException will be raised.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodGetExtension<T>()

Overloaded. Get the ExtensionElement of the specified type from the available extensions of this ModelElement. If the element has no such extension then an InvalidOperationException will be raised.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodGetLocks()

Overloaded. Get the lock flags for this element. This will include any locks enabled on the Partition containing the element.(Defined by ImmutabilityExtensionMethods.)

System_CAPS_pubmethodIsExtendedBy(DomainClassInfo)

Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodIsExtendedBy(Guid)

Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodIsExtendedBy(Type)

Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodIsLocked(Locks)

Overloaded. Test whether this element has any of a specified set of locks(Defined by ImmutabilityExtensionMethods.)

System_CAPS_pubmethodRemoveExtension(DomainClassInfo)

Overloaded. Remove any extension of the specified ModelElement that is of a particular type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodRemoveExtension(ExtensionElement)

Overloaded. Remove a specified ExtensionElement from the extensions of this ModelElement.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodRemoveExtension(Guid)

Overloaded. Remove any extension of the specified ModelElement that is of a particular type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodRemoveExtension(Type)

Overloaded. Remove any extension of this ModelElement that is of a particular type.(Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodSetLocks(Locks)

Overloaded. Set the lock flags of this element(Defined by ImmutabilityExtensionMethods.)

System_CAPS_pubmethodTryGetExtension(DomainClassInfo)

Overloaded. (Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodTryGetExtension(Guid)

Overloaded. (Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodTryGetExtension(Type)

Overloaded. (Defined by ModelElementExtensionMethods.)

System_CAPS_pubmethodTryGetExtension<T>()

Overloaded. Get the ExtensionElement of the specified type from the available extensions of this ModelElement. If this element has no such extension then the result will be null.(Defined by ModelElementExtensionMethods.)

When you define a diagram class in your DSL Definition, it is derived from this class.

To enumerate the shapes in a diagram, use NestedChildShapes.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: