Export (0) Print
Expand All

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

The Diagram type exposes the following members.

  NameDescription
Protected methodDiagramInitializes a new instance of the Diagram class.
Top

  NameDescription
Public propertyAbsoluteBoundingBoxThe bounding rectangle of the shape, measured relative to the Diagram. (Inherited from NodeShape.)
Public propertyAbsoluteBoundingBoxToEnsureVisibleGets the absolute bounding rectangle for DiagramClientView.EnsureVisible. (Inherited from ShapeElement.)
Public propertyAbsoluteBoundsA 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.)
Public propertyAbsoluteCenterGets the point in the center of the shape. (Inherited from ShapeElement.)
Public propertyAccessibilityObjectGets the accessibility object for the shape. (Inherited from ShapeElement.)
Public propertyAccessibleDefaultActionDescriptionGets the default action description for the shape. (Inherited from ShapeElement.)
Public propertyAccessibleDescriptionGets the description for the diagram. (Overrides ShapeElement.AccessibleDescription.)
Public propertyAccessibleHelpGets the Help for the shape. (Inherited from ShapeElement.)
Public propertyAccessibleHelpTopicFileNameGets the Help topic for the shape. (Inherited from ShapeElement.)
Public propertyAccessibleHelpTopicIdGets the ID of the Help topic for the shape. (Inherited from ShapeElement.)
Public propertyAccessibleNameGets the name of the diagram. (Overrides ShapeElement.AccessibleName.)
Public propertyAccessibleRoleGets the role of the shape. (Inherited from ShapeElement.)
Public propertyAccessibleStateGets the state of the shape. (Inherited from NodeShape.)
Public propertyAccessibleValueGets the value of the shape. (Inherited from ShapeElement.)
Public propertyActiveDiagramViewGets the active view for the diagram.
Public propertyAllowsChildrenInSelectionIf true, the children of this shape can be included in the current selection group. (Inherited from ShapeElement.)
Public propertyAllowsChildrenToResizeParentGets the diagram and verifies whether it should be resized so that all elements in the diagram appear. (Overrides ShapeElement.AllowsChildrenToResizeParent.)
Public propertyAllowsChildrenToShrinkParentIf true, this shape will reduce in size to fit around its children when they are re-sized or moved. (Inherited from ShapeElement.)
Public propertyAnchoringDescribes how the shape should position and size itself as the parent shape moves and resizes. Alter the returned object as required. (Inherited from NodeShape.)
Public propertyAnchorPointActionGets the mouse action that is responsible for moving the endpoints of a link.
Public propertyAutoResizeParentOnBoundsChangeGets the child shape and verifies whether its parent shape should be resized when the absolute bounds for the child shape change. (Inherited from NodeShape.)
Public propertyBackgroundBrushIdGets the ID of the brush that draws the background for the diagram. (Overrides ShapeElement.BackgroundBrushId.)
Public propertyBackgroundGradientModeGets the gradient for the background of the shape. (Inherited from NodeShape.)
Protected propertyBaseFontFromEnvironmentGets the font to use as the base font.
Public propertyBaseFontNameGets or sets the name of the base font.
Public propertyBaseFontSizeGets or sets the size of the base font.
Public propertyBoundingBoxGets the bounding rectangle of the shape, measured relative to the ParentShape. (Inherited from NodeShape.)
Public propertyBoundsA 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.)
Public propertyBoundsRulesBounds rules constrain how the user can update the size and position of the bounding rectangle. Override to return a BoundsRules. (Inherited from NodeShape.)
Public propertyCanDeserializationRerouteGets the diagram and verifies whether it allows rerouting during serialization.
Public propertyCanExpandAndCollapseGets the shape and verifies whether a user can expand and collapse it. (Inherited from NodeShape.)
Public propertyCanFocusGets the shape and verifies whether it can receive the focus. (Inherited from ShapeElement.)
Public propertyCanMoveGets the diagram and verifies whether it can be moved. (Overrides ShapeElement.CanMove.)
Public propertyCanResizeGets the shape and verifies whether a user can resize it. (Inherited from NodeShape.)
Public propertyCanSelectGets the shape and verifies whether a user can select it. (Inherited from ShapeElement.)
Public propertyCenterGets the point in the center of the shape. (Inherited from ShapeElement.)
Protected propertyClassStyleSetGets the style set for the shape. (Inherited from ShapeElement.)
Public propertyClientViewsGets the list of client views that are assigned to the diagram.
Public propertyClipWhenDrawingFieldsGets 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 propertyConnectActionFilterStringGets the connect action for the diagram.
Public propertyConnectionPointsA 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.)
Public propertyStatic memberCopyOriginGets the text that represents the original diagram that was copied.
Public propertyCreatableSwimLaneSubjectsGets the list of domain classes that are linked to swimlane shapes.
Public propertyDecoratorsGets the collection of decorators for the shape. (Inherited from ShapeElement.)
Public propertyDefaultContainerMarginGets the margin between the diagram and its element shapes. (Overrides NodeShape.DefaultContainerMargin.)
Public propertyDefaultGridSizeGets the size of the grid for the diagram. When the user moves a shape, its position is adjusted to align with the grid.
Public propertyDefaultShapeFieldGets the default shape, which is the first shape that can receive focus. (Inherited from ShapeElement.)
Public propertyDefaultSizeGets the size of the diagram. (Overrides ShapeElement.DefaultSize.)
Public propertyDiagramGets the diagram to which the shape belongs. (Inherited from ShapeElement.)
Public propertyDiagramIdGets or sets the ID that is assigned to the diagram.
Public propertyDragDropPendingActionGets the mouse action that is responsible for initiating the drag-and-drop action.
Public propertyElementOperationsGets the object that performs selection operations.
Public propertyEnsureVisiblePreference (Overrides ShapeElement.EnsureVisiblePreference.)
Protected propertyEventsGets the list of event handlers for the shape. (Inherited from ShapeElement.)
Public propertyFixedFlagsGets the flags that determine whether a shape is fixed to its position on the diagram. (Inherited from NodeShape.)
Public propertyFocusedDiagramViewGets the diagram view that has the focus.
Public propertyFromRoleLinkShapesGets the collection of link shapes for which this shape is the source. (Inherited from NodeShape.)
Public propertyGeometryBackgroundBrushIdGets the ID of the brush that is used to paint the background of the geometry. (Inherited from ShapeElement.)
Public propertyGeometryBoundingBoxGets the bounding box of the shape. (Inherited from ShapeElement.)
Public propertyGeometryCanResizeBottomGets the shape and verifies whether the user can resize it vertically, starting at the bottom. (Inherited from NodeShape.)
Public propertyGeometryCanResizeLeftGets the shape and verifies whether the user can resize it horizontally, starting on the left. (Inherited from NodeShape.)
Public propertyGeometryCanResizeRightGets the shape and verifies whether the user can resize it horizontally, starting on the right. (Inherited from NodeShape.)
Public propertyGeometryCanResizeTopGets the shape and verifies whether the user can resize it vertically, starting at the top. (Inherited from NodeShape.)
Public propertyGeometryHasFilledBackgroundGets the shape and verifies whether its background is painted. (Inherited from ShapeElement.)
Public propertyGeometryHasOutlineGets the shape and verifies whether it has an outline. (Inherited from ShapeElement.)
Public propertyGeometryHasShadowtrue if the shape has a shadow; otherwise, false. (Inherited from ShapeElement.)
Public propertyGeometryOutlinePenIdGets the ID of the pen that draws the outline for the shape. (Inherited from ShapeElement.)
Public propertyGeometryStyleSetGets the style set for the shape. (Inherited from ShapeElement.)
Public propertyGestureExtensionController
Public propertyGridColorGets or sets the color of the grid.
Public propertyGridSizeGets or sets the default grid size for the shapes on the diagram. (Overrides ShapeElement.GridSize.)
Public propertyGroupBoundsRulesGets or sets the bounds rules for a specific group of shapes on the diagram.
Public propertyHasAnchoringTrue if there are any settings in the Anchoring. (Inherited from NodeShape.)
Public propertyHasAssociatedViewsGets the diagram and verifies whether it is associated with a diagram view.
Public propertyHasBackgroundGradientGets the shape and verifies whether it has a gradient for its background. (Inherited from NodeShape.)
Public propertyHasChildrentrue if the shape has child shapes. (Inherited from ShapeElement.)
Public propertyHasConnectionPointsTrue if the ConnectionPoints list is not empty. (Inherited from NodeShape.)
Protected propertyHasCustomToolTipGets the shape and verifies whether it has a custom tooltip. (Inherited from ShapeElement.)
Public propertyHasDragOverToolTipGets the shape and verifies whether it has a tooltip. (Inherited from ShapeElement.)
Public propertyHasFilledBackgroundGets the shape and verifies whether it has a background. (Inherited from ShapeElement.)
Public propertyHasHighlightingGets the shape and verifies whether it is highlighted. (Inherited from ShapeElement.)
Public propertyHasOutlineGets the diagram and verifies whether it has an outline. (Overrides ShapeElement.HasOutline.)
Public propertyHasShadowGets the diagram and verifies whether it has a shadow. (Overrides ShapeElement.HasShadow.)
Public propertyHasSwimlanesGets the diagram and verifies whether it has swimlanes.
Public propertyHasToolTipGets the shape and verifies whether it has a tooltip. (Inherited from ShapeElement.)
Public propertyIdGets the ID of the element. (Inherited from ModelElement.)
Public propertyInvokeEditorActionGets the mouse action that invokes a field editor when the user presses the mouse button.
Public propertyIsActiveGets the IsActive flag and verifies to see whether the element is active. (Inherited from ModelElement.)
Public propertyIsCompleteViewThis property is now obsolete.
Public propertyIsDeletedGets the IsDeleted flag and checks to see whether the element has been deleted from the model. (Inherited from ModelElement.)
Public propertyIsDeletingGets the IsDeleting flag and verifies whether the element is currently being deleted from the model. (Inherited from ModelElement.)
Public propertyIsExpandedGets the shape and verifies or sets whether it is expanded. (Inherited from NodeShape.)
Public propertyIsNestedChildtrue if this shape element is in the NestedChildShapes of its ParentShape. (Inherited from ShapeElement.)
Protected propertyIsPlaceRouteNodeTrue if the shape’s position can be adjusted (Inherited from NodeShape.)
Public propertyIsPorttrue if the shape is a port shape; otherwise, false. (Inherited from NodeShape.)
Public propertyIsRelativeChildtrue if this shape element is in the RelativeChildShapes of its ParentShape. (Inherited from ShapeElement.)
Public propertyIsVisibleIf 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 propertyIsWatermarkNeededGets the diagram and verifies whether a watermark should appear for it.
Public propertyLassoActionGets the mouse action that initiates the lasso selection.
Public propertyLayoutObjectFixedFlagsGets or sets the flags that determine whether a shape inside the graph is fixed to its position on the diagram. (Inherited from NodeShape.)
Public propertyLineAdjustAwayDefaultGets 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 propertyLineAffinityDefaultGets or sets the target location where the link shape should try to position the shape. (Inherited from ShapeElement.)
Public propertyLineToLineClearanceGets or sets the distance between child link shapes for this shape. (Inherited from ShapeElement.)
Public propertyLineToNodeClearanceGets or sets the distance between child link shapes and child node shapes. (Inherited from ShapeElement.)
Public propertyLinkGets a list of link shapes. (Inherited from NodeShape.)
Public propertyLocationGets or sets the coordinates of the top-left corner of the shape's bounds relative to its ParentShape. (Inherited from NodeShape.)
Public propertyManualRouteActionGets the mouse action that initiates manual line routing.
Public propertyMaximumSizeGets the maximum size for the shape. (Inherited from ShapeElement.)
Public propertyMinimumResizableSizeGets the minimum size to which the shape can be resized. (Inherited from NodeShape.)
Public propertyMinimumSizeGets the minimum height and width of the diagram. (Overrides NodeShape.MinimumSize.)
Public propertyModelElementGets or sets the model element that is associated with the presentation element. (Inherited from PresentationElement.)
Public propertyNameGets or sets the name of the diagram.
Public propertyNavigationRootGets the root shape for the diagram.
Public propertyNeedsRenumberSet this true if you change the order of child shapes anywhere on the diagram. The ZOrder of each shape will be reset.
Public propertyNestedChildShapesThe 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 propertyNestedShapesMarginGets the margin between nested shapes in the diagram. (Overrides ShapeElement.NestedShapesMargin.)
Public propertyNodeToNodeClearanceGets or sets the margin between child node shapes. (Inherited from ShapeElement.)
Public propertyOutlinePenIdGets the ID of the pen that draws the outline for the diagram. (Overrides ShapeElement.OutlinePenId.)
Public propertyOutlinePenWidthGets the width of the outline for the shape. (Inherited from ShapeElement.)
Protected propertyPaintMoveableDecoratorSelectionLines (Inherited from ShapeElement.)
Public propertyPanZoomActionGets the mouse action that initiates zooming.
Protected propertyParentLinkGets the relationship instance from the shape to the parent shape. (Inherited from ShapeElement.)
Public propertyParentShapeGets the parent shape element. To appear on a diagram, a shape or connector must have a parent. (Inherited from ShapeElement.)
Public propertyPartitionGets or sets the Partition that contains the element. (Inherited from ModelElement.)
Public propertyPerimeterGets the perimeter (path) around the shape. (Inherited from ShapeElement.)
Public propertyPortFixedFlagsGets the flags that determine whether a port shape is fixed to its position. (Inherited from NodeShape.)
Public propertyRelatedShapeToEmphasizeGets the related shape to visually emphasize to the user when this shape is selected. (Inherited from ShapeElement.)
Public propertyRelativeChildShapesThe list of shapes that are part of this shape, but can appear outside the boundaries of this shape. (Inherited from ShapeElement.)
Protected propertyRequiresWatermarkGets the diagram and verifies whether a watermark should appear for it.
Public propertyResizableSidesGets the sides of the shape that the user can resize. (Inherited from NodeShape.)
Public propertyResizeActionGets the mouse action that initiates the resizing of a shape.
Public propertyRouteJumpTypeGets or sets the jump style to use when a link shape crosses over another link shape on the diagram.
Public propertyRoutingStyleGets or sets the way link shapes are styled on the diagram.
Public propertySelectActionGets the mouse action that initiates the selection of a shape.
Public propertySelectionRulesGets the rules that determine which elements in the diagram can be selected in a diagram and whether the diagram itself can be selected.
Public propertyShapeFieldsParts of a shape such as text rows and decorators. (Inherited from ShapeElement.)
Public propertyShapeGeometryGets the geometry of the diagram. (Overrides ShapeElement.ShapeGeometry.)
Public propertyShouldAutoPlaceChildShapesGets a shape and verifies whether its nested child shapes should be automatically positioned on the diagram. (Inherited from NodeShape.)
Public propertyShouldTryParentShapeForMergeOnToolboxDoubleClickIf 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 propertyShowGridGets the diagram and verifies whether the grid should appear for it or sets the visibility state of the diagram.
Public propertySizeGets or sets the size of the shape. (Inherited from NodeShape.)
Public propertySnapToGridIf true, shapes on the diagram are adjusted to align with a grid when they are moved by the user. Default value is true.
Public propertyStoreGets the Store that contains the element. (Inherited from ModelElement.)
Public propertyStyleSetGets an instance of the style set for the shape. (Inherited from ShapeElement.)
Public propertySubjectGets or sets the subject for the presentation element. Defaults to the same object as ModelElement. (Inherited from PresentationElement.)
Public propertySupportsPortsGets the diagram and verifies whether it contains ports.
Public propertyTargetToolboxItemFilterAttributesGets the collection of filter attributes for the toolbox that is assigned to the diagram. (Overrides ShapeElement.TargetToolboxItemFilterAttributes.)
Public propertyToolboxActionGets the mouse action that invokes a response when the user clicks the Toolbox.
Public propertyToRoleLinkShapesGets the collection of link shapes for which this shape is the target. (Inherited from NodeShape.)
Public propertyWatermarkTextGets the watermark text that is assigned to the diagram.
Public propertyZOrderDetermines 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

  NameDescription
Public methodAccessibleDoDefaultActionPerforms the default action for the accessible object. (Inherited from ShapeElement.)
Public methodAddImageFormatAdds the format of the diagram image to IDataObject, which is responsible for transferring data.
Public methodAssociate(DiagramView)Displays the diagram in the specified diagram view.
Public methodAssociate(ModelElement)Assigns a model element to the presentation element. The same effect as setting ModelElement. (Inherited from PresentationElement.)
Public methodAutoLayoutChildShapesPositions the collection of shapes in the diagram automatically. (Inherited from NodeShape.)
Public methodAutoLayoutShapeElements(ICollection)Lays out the collection of element shapes on the diagram automatically.
Public methodAutoLayoutShapeElements(ICollection, VGRoutingStyle, PlacementValueStyle, Boolean)Lays out the collection of element shapes on the diagram automatically.
Protected methodCalculateDerivedVisibleVerifies whether the child shape appears. (Inherited from ShapeElement.)
Public methodCalculateMinimumSizeBasedOnChildrenCalculates the minimum size needed so that the shape can include its child shapes. (Inherited from NodeShape.)
Protected methodCanMergeVerifies whether a source element can be added to this element. (Inherited from ModelElement.)
Public methodCanShapeContainConnectors
Protected methodChooseMergeTarget(ElementGroup)Selects a target element to accept as its child an element that the user wants to copy, drag, or create. (Inherited from ModelElement.)
Protected methodChooseMergeTarget(ElementGroupPrototype)Selects a target element to accept as its child an element that the user wants to copy, drag, or create. (Inherited from ModelElement.)
Public methodChooseParentShapeSelects a parent shape for a new child shape, typically this shape. (Inherited from ShapeElement.)
Protected methodChooseRelationshipCalled by FixUpChildShapes() to get the relationship to create between the child shape and its parent shape. (Inherited from NodeShape.)
Public methodCoerceSelectionAllows a shape to determine which other shapes are selected. (Inherited from ShapeElement.)
Protected methodCollapseCollapses the shape so that its nested child shapes are not visible. (Inherited from NodeShape.)
Protected methodConfiguredChildPortShapeConfigures a child port shape and positions it, if necessary. (Inherited from NodeShape.)
Public methodConnectNestedChild
Public methodCopy()Creates a copy of the element in the model. (Inherited from ModelElement.)
Public methodCopy(IEnumerable<Guid>)Creates a copy of the element and its child links and elements. (Inherited from ModelElement.)
Public methodCopyImageToClipboardCopies a collection of shapes and their parent shapes to the Clipboard as an image.
Protected methodCreateBackgroundGradientFieldCreates the area field, which displays the gradient fill in the background of the shape. (Inherited from NodeShape.)
Public methodCreateBitmapCreates an image of the selected shapes.
Protected methodCreateChildShapeCreates a child shape for the parent shape. (Overrides ShapeElement.CreateChildShape(ModelElement).)
Protected methodCreateClassStyleSetCreates a class style set for the shape type. (Inherited from ShapeElement.)
Public methodCreateConnectionPointA 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.)
Protected methodCreateDecoratorsCreates a collection of decorators for the shape type. (Inherited from ShapeElement.)
Public methodCreateDefaultBoundsCreates default bounding rectangle for the shape. (Inherited from NodeShape.)
Protected methodCreateGestureExtensionController
Protected methodCreateInstanceStyleSetCreates a style set for the shape. (Inherited from ShapeElement.)
Public methodCreateManualRouteActionCreates the mouse action for manual link routing.
Public methodCreateMetafile(ICollection)Creates a metafile for the specified shapes and their child shapes.
Public methodCreateMetafile(ICollection, String)Creates a metafile for the specified shapes and their child shapes.
Public methodCreateMetafile(ICollection, String, Boolean)
Protected methodCreateShapeFieldsCreates a collection of shape fields for the shape type. (Inherited from ShapeElement.)
Public methodDelete()Deletes an element from the model. (Inherited from ModelElement.)
Public methodDelete(Guid[])Deletes an element from the model. (Inherited from ModelElement.)
Protected methodDetermineHighlightShapeFinds the highlighted shape in a chain of shapes. (Inherited from ShapeElement.)
Public methodDisassociateRemoves the diagram from the specified diagram view.
Public methodDisconnectNestedChild
Public methodDispose()Releases all resources used by the Diagram.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the Diagram and optionally releases the managed resources.
Public methodDoFoldToShapeCalculates 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 methodDoHitTest(PointD, DiagramHitTestInfo)Returns true if the specified point is within the shape. (Inherited from ShapeElement.)
Public methodDoHitTest(PointD, DiagramHitTestInfo, Boolean)Performs a hit test on the diagram. (Overrides ShapeElement.DoHitTest(PointD, DiagramHitTestInfo, Boolean).)
Public methodDoHitTest(DiagramClientView, PointD, List<ShapeElement>, Boolean)Performs a hit test on the diagram.
Public methodDoHitTestSelectionReturns true if a given point is in the selection handles around the shape. (Inherited from ShapeElement.)
Public methodDoKeyboardNavigationNavigates the from shape to shape, using the keyboard. (Inherited from ShapeElement.)
Public methodDrawResizeFeedbackDraws the resizing feedback for the shape. (Inherited from ShapeElement.)
Public methodEnsureConnectionPointsOverride to set points on the edge of the shape at which connectors should terminate. (Inherited from NodeShape.)
Protected methodEnsureGraphExistsVerifies whether the grid exists for the shape. (Inherited from NodeShape.)
Protected methodEnsureGraphLayoutObjectsExistVerifies whether the shape and its child shapes are in the graph wrapper. (Inherited from NodeShape.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExcludeFromClipRegionExcludes the shape and its child shapes from the clipping region. (Inherited from ShapeElement.)
Public methodExcludeGeometryFromClipRegionExcludes the geometry of a shape and its child shapes from the clipping region. (Inherited from ShapeElement.)
Protected methodExcludeShapeFromSizeCalculationIf true the shape will not be taken into account to calculate the size of the parent shape (Inherited from NodeShape.)
Protected methodExpandExpands the shape so that its nested child shapes are visible and fit inside it. (Inherited from NodeShape.)
Protected methodFinalizeAllows 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().)
Public methodFindDecorator(String)Finds the shape decorator that has a given name. (Inherited from ShapeElement.)
Public methodFindFirstChildSearches for the first child in the navigation sequence for the shape. (Inherited from ShapeElement.)
Public methodFindFreeArea(RectangleD)Finds an empty area on the grid for the shape. (Inherited from NodeShape.)
Public methodFindFreeArea(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.)
Public methodFindLastChildSearches for the last child in the navigation sequence for the shape. (Inherited from ShapeElement.)
Public methodFindNextChildSearches for the next child in the navigation sequence for the shape. (Inherited from ShapeElement.)
Public methodFindNextInChildFieldsSearches for the next shape field in the navigation sequence. (Inherited from ShapeElement.)
Public methodFindPreviousChildSearches for the previous child in the navigation sequence for the shape. (Inherited from ShapeElement.)
Public methodFindPreviousInChildFieldsSearches for the previous shape field in the navigation sequence. (Inherited from ShapeElement.)
Public methodFindShapeFinds the shape for the specified element on the diagram.
Public methodFindShapeField(String)Searches for a shape field in a shape. (Inherited from ShapeElement.)
Public methodFixUpChildShapesCreates 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 methodStatic memberFixUpDiagramEnsures that the shape and its parent shapes are created and configured correctly.
Public methodFixUpDiagramSelectionUpdates the selection in the diagram.
Public methodFocusedVerifies whether the shape has the focus. (Inherited from ShapeElement.)
Protected methodGetAbsoluteBoundsValueGets the absolute bounds for the shape. (Inherited from NodeShape.)
Public methodGetAccessibilityObjectGets the accessible object that is assigned to the shape. (Inherited from ShapeElement.)
Public methodGetChildElementsGets a collection of child shapes that belong to the parent shape. (Inherited from ShapeElement.)
Public methodGetCompliantAnchorPointCalculates 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.)
Public methodGetCompliantGroupBoundsUpdates the collection of ghost shapes so that it complies with the source shape's group bounds rules.
Public methodGetCursorGets the pointer that appears when the mouse is over the shape. (Inherited from ShapeElement.)
Public methodGetDomainClassGets the most-derived domain class for this element. (Inherited from ModelElement.)
Public methodGetDragOverToolTipTextGets the tooltip text that appears when the mouse is over the shape. (Inherited from ShapeElement.)
Public methodGetFieldAccessibleDescriptionGets the description for a field in the shape. (Inherited from ShapeElement.)
Public methodGetFieldAccessibleNameGets the name of a field in the shape. (Inherited from ShapeElement.)
Public methodGetFieldAccessibleValueGets the value for a field in the shape. (Inherited from ShapeElement.)
Public methodGetFieldRepresentedElementGets the primary element that the child shape represents. (Inherited from ShapeElement.)
Public methodGetFieldRepresentedPropertyGets the property information for a field in the shape. (Inherited from ShapeElement.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetIsExpandedValueGets the value for the IsExpanded property. (Inherited from NodeShape.)
Public methodGetPotentialMouseActionGets the mouse action to initiate when the user clicks a point in the diagram. (Overrides ShapeElement.GetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo).)
Protected methodGetRoleCollection<TCollection, TElement>(Guid)Gets or creates the linked element collection (Inherited from ModelElement.)
Public methodGetServiceGets a service.
Public methodGetShapeLuminosityCalculates the luminosity of the shape. (Inherited from ShapeElement.)
Protected methodGetSourceRolePlayerForLinkMappedByConnectorGets the source role for the link shape.
Public methodGetSubFieldAccessibleDescriptionGets the description for a child field in the shape. (Inherited from ShapeElement.)
Public methodGetSubFieldAccessibleNameGets the name of a child field in the shape. (Inherited from ShapeElement.)
Public methodGetSubFieldAccessibleValueGets the value for a child field in the shape. (Inherited from ShapeElement.)
Public methodGetSubFieldRepresentedElementsGets a collection of elements that the shape for the child field represents. (Inherited from ShapeElement.)
Public methodGetSubFieldRepresentedPropertyGets the property for the child field. (Inherited from ShapeElement.)
Public methodGetSubFieldRepresentedPropertyElementsGets the element that contains the property for the child field. (Inherited from ShapeElement.)
Protected methodGetTargetRolePlayerForLinkMappedByConnectorGets the target role for the link shape.
Public methodGetToolTipTextGets the tooltip text for the shape to which the mouse is pointing. (Inherited from ShapeElement.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHandleNewSwimLaneInsertionAdds a swimlane to the diagram.
Protected methodHasCachedDragOverResultVerifies whether the results are cached for the drag-over mouse event. (Inherited from ShapeElement.)
Public methodHideHides the shape and all its children. (Inherited from ShapeElement.)
Protected methodHideCustomToolTipHides the custom tooltip for the shape. (Inherited from ShapeElement.)
Public methodHitTestGets the shapes to include in the hit test.
Protected methodInitializeDecoratorsInitializes and adds fields to the shape type. (Inherited from ShapeElement.)
Protected methodInitializeInstanceResourcesInitializes the resources for an instance of the shape. (Inherited from ShapeElement.)
Protected methodInitializeResourcesInitializes the resources for the shape. (Inherited from ShapeElement.)
Protected methodInitializeShapeFieldsProvides support for background gradients. (Inherited from NodeShape.)
Public methodInvalidate()Invalidates shapes in the diagram. (Overrides ShapeElement.Invalidate().)
Public methodInvalidate(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.)
Public methodInvalidate(RectangleD)Makes sure that the shape and its old location will be repainted at the end of the transaction. (Inherited from ShapeElement.)
Public methodInvalidateRectangleInvalidates the shapes that are in the selection rectangle.
Public methodIsConnectorMappedToLinkVerifies whether the link has a link shape on the diagram.
Public methodIsDescendantOfVerifies whether the shape is a descendent of another shape. (Inherited from ShapeElement.)
Protected methodIsNavigationKey(Char)Verifies whether the key is used as a navigational command. (Inherited from ShapeElement.)
Protected methodIsNavigationKey(Keys)Verifies whether the key data is used as a navigational command. (Inherited from ShapeElement.)
Public methodIsOrphanedVerifies whether a shape is linked to another shape in the diagram.
Public methodIsSelectedVerifies whether a shape is selected in a diagram view.
Public methodIterateShapesIterates through a shape and its child shapes. (Inherited from ShapeElement.)
Public methodLassoSelectGets the list of shapes that are in the selection rectangle.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodMergeConfigureNot used for presentation elements. (Inherited from PresentationElement.)
Protected methodMergeDisconnectDisconnects a source element from a target element. (Inherited from ModelElement.)
Protected methodMergeRelateCreates a relationship between a model element and a group of model elements. (Inherited from PresentationElement.)
Protected methodModifyLuminosityCalculates the luminosity of the highlight for the shape. (Inherited from ShapeElement.)
Protected methodMoveByRepositioning(DiagramDragEventArgs)Repositions the shapes in the group by the amount that the position of the mouse determines. (Inherited from ShapeElement.)
Public methodMoveByRepositioning(ElementGroupPrototype, DiagramItemCollection, PointD, DiagramItem)Repositions the shapes in the group by the amount that the position of the mouse determines. (Inherited from ShapeElement.)
Public methodNavigateAcrossLinksSelects the shapes or sets the focus on the shapes that are connected to this shape. (Inherited from NodeShape.)
Public methodNavigateAscendNavigates to the next ancestor in the navigation sequence and updates the focus. Called in response to user navigation keystrokes. (Inherited from ShapeElement.)
Public methodNavigateDescendNavigates to the next descendent in the navigation sequence and updates the focus. Called in response to user navigation keystrokes. (Inherited from ShapeElement.)
Protected methodNavigateToNavigates to a specific shape in the navigation sequence and updates the focus. (Inherited from ShapeElement.)
Public methodNavigateToFirstNavigates 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.)
Public methodNavigateToLastNavigates 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.)
Public methodNavigateToNextNavigates to the next shape in the navigation sequence. Called in response to user navigation keystrokes. (Inherited from ShapeElement.)
Public methodNavigateToPreviousNavigates to the previously selected shape in the navigation sequence. Called in response to user navigation keystrokes. (Inherited from ShapeElement.)
Public methodOnAbsoluteBoundsChangedCalled when the size or location of the shape have changed. (Inherited from NodeShape.)
Protected methodOnAssociatedPerforms an action when the diagram has been associated with a diagram view.
Protected methodOnAssociatedPropertyChangedUpdates the shape when the value of an in-memory store property changes for a field in the shape. (Inherited from ShapeElement.)
Protected methodOnBeforePaintUpdates resources, such as pens and brushes, before they are used to paint the shape. (Inherited from ShapeElement.)
Public methodOnBeforeReroutePerforms an action when a link is about to be rerouted in the diagram.
Public methodOnBeginEditCalled when the user starts to edit a text field. (Inherited from ShapeElement.)
Public methodOnBoundsFixupOverride this method to customize how the bounds for the shape are determined. (Inherited from NodeShape.)
Protected methodOnChildAssociatedPropertyChangedPerforms an action when a property that is associated with a child shape has changed.
Protected methodOnChildConfiguredConfigures a port on the shape after the shape is added to the diagram. (Inherited from NodeShape.)
Protected methodOnChildConfiguringPerforms an action when a child shape has been configured. (Overrides NodeShape.OnChildConfiguring(ShapeElement, Boolean).)
Public methodOnClickCalled when the user clicks the shape. (Inherited from ShapeElement.)
Protected methodOnCopyCalled when this element has been created as a copy of another element. (Inherited from ModelElement.)
Protected methodOnDeletedCalled when this element has been deleted from the model. (Inherited from ModelElement.)
Protected methodOnDeletingCalled when this element is about to be deleted. (Inherited from ModelElement.)
Protected methodOnDisassociatedPerforms an action when the diagram is disassociated from a diagram view.
Public methodOnDoubleClickCalled when the user double-clicks the shape. (Inherited from ShapeElement.)
Public methodOnDragDropCalled when the user drags an item onto the shape. (Inherited from ShapeElement.)
Public methodOnDragEnterCalled when the mouse enters a shape during a drag operation. (Inherited from ShapeElement.)
Public methodOnDragLeaveCalled when the mouse moves out of a shape. (Inherited from ShapeElement.)
Public methodOnDragOverOverride 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 methodOnElementEventsEndedRaises an event after all other events for a transaction have been raised.
Public methodOnElementEventsEndingRaises an event after all other events for a transaction have been raised.
Public methodOnEndEditCalled when the user ends editing a text field. (Inherited from ShapeElement.)
Public methodOnGiveFeedbackChanges the pointer and performs a custom action when the pointer is dragged across the designer.
Public methodOnGridPropertyChangedPerforms an action when the grid properties have changed.
Public methodOnInitializePerforms an action when the Diagram class is initialized. (Overrides ShapeElement.OnInitialize().)
Public methodOnKeyDownPerforms an action when the user presses a key while the diagram has the focus. (Overrides NodeShape.OnKeyDown(DiagramKeyEventArgs).)
Public methodOnKeyPressAlerts listeners that a key has been pressed. (Inherited from NodeShape.)
Public methodOnKeyUpCalled when a key is released. (Inherited from ShapeElement.)
Public methodOnMouseDownCalled when the user presses a mouse key. (Inherited from ShapeElement.)
Public methodOnMouseEnterCalled when the mouse enters a shape. (Inherited from ShapeElement.)
Public methodOnMouseHoverCalled when the mouse hovers over a shape. (Inherited from ShapeElement.)
Public methodOnMouseLeaveCalled when the mouse leaves a shape. (Inherited from ShapeElement.)
Public methodOnMouseMoveCalled repeatedly when the user moves the mouse. (Inherited from ShapeElement.)
Public methodOnMouseUpCalled when a mouse button is released. (Inherited from ShapeElement.)
Public methodOnMouseWheelCalled when the user has rotated the mouse wheel. (Inherited from ShapeElement.)
Public methodOnOrphanedCalled when a (Inherited from ShapeElement.)
Public methodOnPaintEmphasisCalled when emphasis has been applied to the selected shape. (Inherited from ShapeElement.)
Public methodOnPaintFeedbackCalled when drag-and-drop feedback is painted. (Inherited from ShapeElement.)
Public methodOnPaintSelectionCalled to paint the selection highlight. (Inherited from ShapeElement.)
Public methodOnPaintShapeLets derived classes perform an action when the diagram background and grid are painted. (Overrides ShapeElement.OnPaintShape(DiagramPaintEventArgs).)
Protected methodOnParentNodeShapeChangedThis method is invoked if a) ParentShape is NodeShape b) ParentShape either moved or resized. (Inherited from NodeShape.)
Protected methodOnResurrectedCalled when this element has been added back to a model. (Inherited from ModelElement.)
Protected methodOnRolePlayerPositionChangedCalled when the position of a role has changed. (Inherited from ModelElement.)
Protected methodOnRolePlayerPositionChangingCalled when a role player position is about to change. (Inherited from ModelElement.)
Public methodOnShapeInsertedCalled when a shape has been inserted as a child of another. (Inherited from ShapeElement.)
Public methodOnShapeRemovedCalled when the shape has been removed as a child shape from its parent shape. (Inherited from ShapeElement.)
Public methodOnToolboxItemSelected
Public methodOnToolboxSelectionChanged
Public methodOnTransactionBeginningLets derived classes perform an action when a transaction starts.
Public methodOnTransactionCommittingLets derived classes perform an action when a transaction is being committed.
Public methodOnTransactionRolledBackLets derived classes perform an action after a transaction is rolled back.
Public methodOnTransactionRollingBackLets derived classes perform an action when a transaction is being rolled back.
Public methodOnViewMouseEnterLets derived classes perform an action when the mouse pointer enters the diagram client view.
Public methodOnViewMouseHoverLets derived classes perform an action when the mouse pointer is over the diagram client view.
Public methodOnViewMouseLeaveLets derived classes perform an action when the mouse pointer leaves the diagram client view.
Public methodPerformLineRoutingRuleDetermines how links between elements appear in the diagram.
Public methodPerformResizeParentRule()Alerts the Domain-Specific Language Designer that a parent shape must be resized to match its child shapes. (Inherited from ShapeElement.)
Public methodPerformResizeParentRule(Boolean, ShapeElement)Alerts the Domain-Specific Language Designer that a parent shape must be resized to match its child shapes. (Inherited from ShapeElement.)
Public methodPerformShapeAnchoringRuleAnchors the shape to the diagram. (Inherited from NodeShape.)
Protected methodPermitChildVisibilityVerifies whether the child shape can appear. (Inherited from NodeShape.)
Public methodPostDeserializationAdjusts the location of shapes on the diagram after the diagram has been deserialized.
Public methodPrintDraws the diagram.
Protected methodProcessVisibilityChangeProcesses a shape's change in visibility. (Inherited from NodeShape.)
Public methodPurgeLayoutObjectsRemoves the objects that are used to position the shape on the diagram grid. (Inherited from ShapeElement.)
Public methodPurgePointsRemoves points for the shape on the diagram grid. (Inherited from ShapeElement.)
Public methodRebuildShapeRebuilds the shape. (Inherited from ShapeElement.)
Public methodRemoveLayoutObjectRemoves the shape, including any relative and nested child shapes, from the diagram grid. (Inherited from ShapeElement.)
Public methodRenumberRenumbers the shapes in the diagram.
Protected methodReparentSwimlaneChild
Public methodRepositionShapesRepositions the shapes in the diagram.
Public methodRerouteReroutes links between elements on the diagram.
Public methodStatic memberRunInShapeFixupContextForMetafileCreation
Public methodSelectedVerifies whether the shape is selected in a specified view. (Inherited from ShapeElement.)
Protected methodSetAbsoluteBoundsValueSets the absolute bounds for the diagram. (Overrides NodeShape.SetAbsoluteBoundsValue(RectangleD).)
Protected methodSetInitialGraphLayoutVisibilitySets the visibility of the graph. (Inherited from ShapeElement.)
Protected methodSetIsExpandedValueSets the value for the IsExpanded property. (Inherited from NodeShape.)
Public methodSetShowHideStateSets the visibility of the shape and all its children. (Inherited from ShapeElement.)
Protected methodSetShowHideStateImplementationSets the visibility of the shape. (Inherited from ShapeElement.)
Protected methodShouldAddShapeForElementVerifies whether a shape can have a child shape assigned to it. (Overrides ShapeElement.ShouldAddShapeForElement(ModelElement).)
Public methodShouldExcludeFromInvalidationTrackingVerifies whether specific shape types should be excluded from invalidation.
Public methodShouldReparentOnMoveVerifies whether a child shape should be added to a new parent when the child shape is moved. (Inherited from ShapeElement.)
Public methodShouldReportExceptionVerifies whether an exception that is thrown from the base design surface should be reported.
Public methodShowMakes a shape and all its children visible. (Inherited from ShapeElement.)
Protected methodShowCustomToolTipMakes a shape's custom tooltip visible. (Inherited from ShapeElement.)
Public methodSideAssigns a side of the shape to the port. (Inherited from NodeShape.)
Public methodToStringGets the name of the shape and its type. (Inherited from ShapeElement.)
Public methodTranslateGeometryToAbsoluteBoundsConverts the relative bounds to absolute bounds for the shape's geometry. (Inherited from ShapeElement.)
Public methodTranslateGeometryToRelativeBoundsConverts the absolute bounds to relative bounds for the shape's geometry. (Inherited from ShapeElement.)
Public methodTranslateToAbsoluteBoundsConverts the relative bounds to absolute bounds for the shape. (Inherited from ShapeElement.)
Public methodTranslateToRelativeBoundsConverts the absolute bounds to relative bounds for the shape. (Inherited from ShapeElement.)
Public methodUnhandledExceptionVerifies who should report an exception that is thrown from the base design surface.
Protected methodUpdateChildVisibilityUpdates the visibility status for the child shape. (Inherited from NodeShape.)
Protected methodUpdateDerivedVisibleUpdates the visible state of the derived shape. (Inherited from ShapeElement.)
Public methodUpdateGeometryLuminosity(DiagramClientView, Brush)Updates the luminosity for the brush. (Inherited from ShapeElement.)
Public methodUpdateGeometryLuminosity(DiagramClientView, Pen)Updates the luminosity for the pen. (Inherited from ShapeElement.)
Top

  NameDescription
Public eventAbsoluteBoundsChangedOccurs when the absolute bounds for the shape change. (Inherited from NodeShape.)
Public eventClickOccurs when the user clicks the mouse over a shape. (Inherited from ShapeElement.)
Public eventDiagramAddedOccurs when a diagram is added.
Public eventDiagramRemovedOccurs when a diagram is removed.
Public eventDoubleClickOccurs when the user double-clicks the mouse. (Inherited from ShapeElement.)
Public eventKeyDownOccurs when the user presses a key. (Inherited from ShapeElement.)
Public eventKeyPressOccurs when the user presses and releases a key. (Inherited from ShapeElement.)
Public eventKeyUpOccurs when the user releases a key. (Inherited from ShapeElement.)
Public eventMouseDownOccurs when the user presses the mouse button. (Inherited from ShapeElement.)
Public eventMouseMoveOccurs when the user moves the mouse. (Inherited from ShapeElement.)
Public eventMouseUpOccurs when the user releases the mouse button. (Inherited from ShapeElement.)
Public eventMouseWheelOccurs when the user rotates the mouse wheel. (Inherited from ShapeElement.)
Top

  NameDescription
Public Extension MethodAddExtension(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.)
Public Extension MethodAddExtension(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.)
Public Extension MethodAddExtension(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.)
Public Extension MethodAddExtension(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.)
Public Extension MethodAddExtension<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.)
Public Extension MethodCanDeleteDeletes the element from the model. (Defined by ImmutabilityExtensionMethods.)
Public Extension MethodGetAllExtensionsReturn an enumerable that performs a breadth first traversal across the tree of extension elements embedded in this ModelElement. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetBaseElementReturns the root of the virtual MEL in which the specified ModelElement is participating. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetDslDefinitionModelElementThis 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.)
Public Extension MethodGetExtension(Guid)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetExtension(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.)
Public Extension MethodGetExtension(DomainClassInfo)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetExtension<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.)
Public Extension MethodGetLocksGet the lock flags for this element. This will include any locks enabled on the Partition containing the element. (Defined by ImmutabilityExtensionMethods.)
Public Extension MethodIsExtendedBy(Guid)Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodIsExtendedBy(Type)Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodIsExtendedBy(DomainClassInfo)Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodIsLockedTest whether this element has any of a specified set of locks (Defined by ImmutabilityExtensionMethods.)
Public Extension MethodRemoveExtension(Type)Overloaded. Remove any extension of this ModelElement that is of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodRemoveExtension(Guid)Overloaded. Remove any extension of the specified ModelElement that is of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodRemoveExtension(DomainClassInfo)Overloaded. Remove any extension of the specified ModelElement that is of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodRemoveExtension(ExtensionElement)Overloaded. Remove a specified ExtensionElement from the extensions of this ModelElement. (Defined by ModelElementExtensionMethods.)
Public Extension MethodSetLocksSet the lock flags of this element (Defined by ImmutabilityExtensionMethods.)
Public Extension MethodTryGetExtension(Guid)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodTryGetExtension(Type)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodTryGetExtension(DomainClassInfo)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodTryGetExtension<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.)
Top

  NameDescription
Public fieldStatic memberBaseFontNameDomainPropertyIdRepresents the property ID for the base font name.
Public fieldStatic memberBaseFontSizeDomainPropertyIdRepresents the property ID for the base font size.
Public fieldStatic memberDiagramIdDomainPropertyIdRepresents the property ID for the diagram.
Public fieldStatic memberDoLineRoutingDomainPropertyIdRepresents the ID for the DoLineRoutingDomainPropertyId property.
Public fieldStatic memberDomainClassIdRepresents the ID for a domain class shape.
Public fieldStatic memberDoResizeParentDomainPropertyIdRepresents the ID for the DoResizeParentDomainPropertyId property.
Public fieldStatic memberDoShapeAnchoringDomainPropertyIdRepresents the ID for the DoShapeAnchoringDomainPropertyId property.
Public fieldStatic memberDoViewFixupDomainPropertyIdRepresents the ID for the DoViewFixupDomainPropertyId property.
Public fieldStatic memberIsCompleteViewDomainPropertyIdRepresents the ID for the IsCompleteViewDomainPropertyId property.
Public fieldStatic memberNameDomainPropertyIdRepresents the ID for the NameDomainPropertyId property.
Public fieldStatic memberPlaceUnplacedShapesDomainPropertyIdRepresents the ID for the PlaceUnplacedShapesDomainPropertyId property.
Top

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.
Show:
© 2014 Microsoft