Represents a diagram.
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.Modeling.ModelElement
    Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
      Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
        Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
          Microsoft.VisualStudio.Modeling.Diagrams.Diagram
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainModelOwnerAttribute(GetType(CoreDesignSurfaceDomainModel))> _
<CLSCompliantAttribute(True)> _
<DomainObjectIdAttribute("3102e0d1-1221-458d-834f-2dc0769ce683")> _
Public MustInherit Class Diagram _
    Inherits NodeShape _
    Implements IDisposable
[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
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Diagram.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Diagram.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainModelOwnerAttribute(typeof(CoreDesignSurfaceDomainModel))]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute(L"3102e0d1-1221-458d-834f-2dc0769ce683")]
public ref class Diagram abstract : public NodeShape, 
    IDisposable
[<AbstractClass>]
[<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")>]
type Diagram =  
    class
        inherit NodeShape
        interface IDisposable
    end
public abstract class Diagram extends NodeShape implements IDisposable
The Diagram type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | Diagram | Initializes a new instance of the Diagram class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AbsoluteBoundingBox | The bounding rectangle of the shape, measured relative to the Diagram. (Inherited from NodeShape.) | 
| .gif) | AbsoluteBoundingBoxToEnsureVisible | Gets the absolute bounding rectangle for DiagramClientView.EnsureVisible. (Inherited from ShapeElement.) | 
| .gif) | AbsoluteBounds | 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.) | 
| .gif) | AbsoluteCenter | Gets the point in the center of the shape. (Inherited from ShapeElement.) | 
| .gif) | AccessibilityObject | Gets the accessibility object for the shape. (Inherited from ShapeElement.) | 
| .gif) | AccessibleDefaultActionDescription | Gets the default action description for the shape. (Inherited from ShapeElement.) | 
| .gif) | AccessibleDescription | Gets the description for the diagram. (Overrides ShapeElement.AccessibleDescription.) | 
| .gif) | AccessibleHelp | Gets the Help for the shape. (Inherited from ShapeElement.) | 
| .gif) | AccessibleHelpTopicFileName | Gets the Help topic for the shape. (Inherited from ShapeElement.) | 
| .gif) | AccessibleHelpTopicId | Gets the ID of the Help topic for the shape. (Inherited from ShapeElement.) | 
| .gif) | AccessibleName | Gets the name of the diagram. (Overrides ShapeElement.AccessibleName.) | 
| .gif) | AccessibleRole | Gets the role of the shape. (Inherited from ShapeElement.) | 
| .gif) | AccessibleState | Gets the state of the shape. (Inherited from NodeShape.) | 
| .gif) | AccessibleValue | Gets the value of the shape. (Inherited from ShapeElement.) | 
| .gif) | ActiveDiagramView | Gets the active view for the diagram. | 
| .gif) | AllowsChildrenInSelection | If true, the children of this shape can be included in the current selection group. (Inherited from ShapeElement.) | 
| .gif) | AllowsChildrenToResizeParent | Gets the diagram and verifies whether it should be resized so that all elements in the diagram appear. (Overrides ShapeElement.AllowsChildrenToResizeParent.) | 
| .gif) | AllowsChildrenToShrinkParent | If true, this shape will reduce in size to fit around its children when they are re-sized or moved. (Inherited from ShapeElement.) | 
| .gif) | Anchoring | 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.) | 
| .gif) | AnchorPointAction | Gets the mouse action that is responsible for moving the endpoints of a link. | 
| .gif) | AutoResizeParentOnBoundsChange | 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.) | 
| .gif) | BackgroundBrushId | Gets the ID of the brush that draws the background for the diagram. (Overrides ShapeElement.BackgroundBrushId.) | 
| .gif) | BackgroundGradientMode | Gets the gradient for the background of the shape. (Inherited from NodeShape.) | 
| .gif) | BaseFontFromEnvironment | Gets the font to use as the base font. | 
| .gif) | BaseFontName | Gets or sets the name of the base font. | 
| .gif) | BaseFontSize | Gets or sets the size of the base font. | 
| .gif) | BoundingBox | Gets the bounding rectangle of the shape, measured relative to the ParentShape. (Inherited from NodeShape.) | 
| .gif) | Bounds | 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.) | 
| .gif) | BoundsRules | Bounds rules constrain how the user can update the size and position of the bounding rectangle. Override to return a BoundsRules. (Inherited from NodeShape.) | 
| .gif) | CanDeserializationReroute | Gets the diagram and verifies whether it allows rerouting during serialization. | 
| .gif) | CanExpandAndCollapse | Gets the shape and verifies whether a user can expand and collapse it. (Inherited from NodeShape.) | 
| .gif) | CanFocus | Gets the shape and verifies whether it can receive the focus. (Inherited from ShapeElement.) | 
| .gif) | CanMove | Gets the diagram and verifies whether it can be moved. (Overrides ShapeElement.CanMove.) | 
| .gif) | CanResize | Gets the shape and verifies whether a user can resize it. (Inherited from NodeShape.) | 
| .gif) | CanSelect | Gets the shape and verifies whether a user can select it. (Inherited from ShapeElement.) | 
| .gif) | Center | Gets the point in the center of the shape. (Inherited from ShapeElement.) | 
| .gif) | ClassStyleSet | Gets the style set for the shape. (Inherited from ShapeElement.) | 
| .gif) | ClientViews | Gets the list of client views that are assigned to the diagram. | 
| .gif) | ClipWhenDrawingFields | Gets the child shape and verifies whether its clipping region should be set to the bounding box for the parent shape when the child shape is drawn. (Inherited from ShapeElement.) | 
| .gif) | ConnectActionFilterString | Gets the connect action for the diagram. | 
| .gif) | ConnectionPoints | 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.) | 
| .gif) .gif) | CopyOrigin | Gets the text that represents the original diagram that was copied. | 
| .gif) | CreatableSwimLaneSubjects | Gets the list of domain classes that are linked to swimlane shapes. | 
| .gif) | Decorators | Gets the collection of decorators for the shape. (Inherited from ShapeElement.) | 
| .gif) | DefaultContainerMargin | Gets the margin between the diagram and its element shapes. (Overrides NodeShape.DefaultContainerMargin.) | 
| .gif) | DefaultGridSize | Gets the size of the grid for the diagram. When the user moves a shape, its position is adjusted to align with the grid. | 
| .gif) | DefaultShapeField | Gets the default shape, which is the first shape that can receive focus. (Inherited from ShapeElement.) | 
| .gif) | DefaultSize | Gets the size of the diagram. (Overrides ShapeElement.DefaultSize.) | 
| .gif) | Diagram | Gets the diagram to which the shape belongs. (Inherited from ShapeElement.) | 
| .gif) | DiagramId | Gets or sets the ID that is assigned to the diagram. | 
| .gif) | DragDropPendingAction | Gets the mouse action that is responsible for initiating the drag-and-drop action. | 
| .gif) | ElementOperations | Gets the object that performs selection operations. | 
| .gif) | EnsureVisiblePreference | (Overrides ShapeElement.EnsureVisiblePreference.) | 
| .gif) | Events | Gets the list of event handlers for the shape. (Inherited from ShapeElement.) | 
| .gif) | FixedFlags | Gets the flags that determine whether a shape is fixed to its position on the diagram. (Inherited from NodeShape.) | 
| .gif) | FocusedDiagramView | Gets the diagram view that has the focus. | 
| .gif) | FromRoleLinkShapes | Gets the collection of link shapes for which this shape is the source. (Inherited from NodeShape.) | 
| .gif) | GeometryBackgroundBrushId | Gets the ID of the brush that is used to paint the background of the geometry. (Inherited from ShapeElement.) | 
| .gif) | GeometryBoundingBox | Gets the bounding box of the shape. (Inherited from ShapeElement.) | 
| .gif) | GeometryCanResizeBottom | Gets the shape and verifies whether the user can resize it vertically, starting at the bottom. (Inherited from NodeShape.) | 
| .gif) | GeometryCanResizeLeft | Gets the shape and verifies whether the user can resize it horizontally, starting on the left. (Inherited from NodeShape.) | 
| .gif) | GeometryCanResizeRight | Gets the shape and verifies whether the user can resize it horizontally, starting on the right. (Inherited from NodeShape.) | 
| .gif) | GeometryCanResizeTop | Gets the shape and verifies whether the user can resize it vertically, starting at the top. (Inherited from NodeShape.) | 
| .gif) | GeometryHasFilledBackground | Gets the shape and verifies whether its background is painted. (Inherited from ShapeElement.) | 
| .gif) | GeometryHasOutline | Gets the shape and verifies whether it has an outline. (Inherited from ShapeElement.) | 
| .gif) | GeometryHasShadow | true if the shape has a shadow; otherwise, false. (Inherited from ShapeElement.) | 
| .gif) | GeometryOutlinePenId | Gets the ID of the pen that draws the outline for the shape. (Inherited from ShapeElement.) | 
| .gif) | GeometryStyleSet | Gets the style set for the shape. (Inherited from ShapeElement.) | 
| .gif) | GestureExtensionController | |
| .gif) | GridColor | Gets or sets the color of the grid. | 
| .gif) | GridSize | Gets or sets the default grid size for the shapes on the diagram. (Overrides ShapeElement.GridSize.) | 
| .gif) | GroupBoundsRules | Gets or sets the bounds rules for a specific group of shapes on the diagram. | 
| .gif) | HasAnchoring | True if there are any settings in the Anchoring. (Inherited from NodeShape.) | 
| .gif) | HasAssociatedViews | Gets the diagram and verifies whether it is associated with a diagram view. | 
| .gif) | HasBackgroundGradient | Gets the shape and verifies whether it has a gradient for its background. (Inherited from NodeShape.) | 
| .gif) | HasChildren | true if the shape has child shapes. (Inherited from ShapeElement.) | 
| .gif) | HasConnectionPoints | True if the ConnectionPoints list is not empty. (Inherited from NodeShape.) | 
| .gif) | HasCustomToolTip | Gets the shape and verifies whether it has a custom tooltip. (Inherited from ShapeElement.) | 
| .gif) | HasDragOverToolTip | Gets the shape and verifies whether it has a tooltip. (Inherited from ShapeElement.) | 
| .gif) | HasFilledBackground | Gets the shape and verifies whether it has a background. (Inherited from ShapeElement.) | 
| .gif) | HasHighlighting | Gets the shape and verifies whether it is highlighted. (Inherited from ShapeElement.) | 
| .gif) | HasOutline | Gets the diagram and verifies whether it has an outline. (Overrides ShapeElement.HasOutline.) | 
| .gif) | HasShadow | Gets the diagram and verifies whether it has a shadow. (Overrides ShapeElement.HasShadow.) | 
| .gif) | HasSwimlanes | Gets the diagram and verifies whether it has swimlanes. | 
| .gif) | HasToolTip | Gets the shape and verifies whether it has a tooltip. (Inherited from ShapeElement.) | 
| .gif) | Id | Gets the ID of the element. (Inherited from ModelElement.) | 
| .gif) | InvokeEditorAction | Gets the mouse action that invokes a field editor when the user presses the mouse button. | 
| .gif) | IsActive | Gets the IsActive flag and verifies to see whether the element is active. (Inherited from ModelElement.) | 
| .gif) | IsCompleteView | This property is now obsolete. | 
| .gif) | IsDeleted | Gets the IsDeleted flag and checks to see whether the element has been deleted from the model. (Inherited from ModelElement.) | 
| .gif) | IsDeleting | Gets the IsDeleting flag and verifies whether the element is currently being deleted from the model. (Inherited from ModelElement.) | 
| .gif) | IsExpanded | Gets the shape and verifies or sets whether it is expanded. (Inherited from NodeShape.) | 
| .gif) | IsNestedChild | true if this shape element is in the NestedChildShapes of its ParentShape. (Inherited from ShapeElement.) | 
| .gif) | IsPlaceRouteNode | True if the shape’s position can be adjusted (Inherited from NodeShape.) | 
| .gif) | IsPort | true if the shape is a port shape; otherwise, false. (Inherited from NodeShape.) | 
| .gif) | IsRelativeChild | true if this shape element is in the RelativeChildShapes of its ParentShape. (Inherited from ShapeElement.) | 
| .gif) | IsVisible | If true, the shape appears on the diagram; if false, it does not appear, and layout and routing algorithms ignore it. See also Hide() and Show(). (Inherited from ShapeElement.) | 
| .gif) | IsWatermarkNeeded | Gets the diagram and verifies whether a watermark should appear for it. | 
| .gif) | LassoAction | Gets the mouse action that initiates the lasso selection. | 
| .gif) | LayoutObjectFixedFlags | Gets or sets the flags that determine whether a shape inside the graph is fixed to its position on the diagram. (Inherited from NodeShape.) | 
| .gif) | LineAdjustAwayDefault | Gets the shape and verifies whether child link shapes should try to align when they are connected to same shape or sets this value. (Inherited from ShapeElement.) | 
| .gif) | LineAffinityDefault | Gets or sets the target location where the link shape should try to position the shape. (Inherited from ShapeElement.) | 
| .gif) | LineToLineClearance | Gets or sets the distance between child link shapes for this shape. (Inherited from ShapeElement.) | 
| .gif) | LineToNodeClearance | Gets or sets the distance between child link shapes and child node shapes. (Inherited from ShapeElement.) | 
| .gif) | Link | Gets a list of link shapes. (Inherited from NodeShape.) | 
| .gif) | Location | Gets or sets the coordinates of the top-left corner of the shape's bounds relative to its ParentShape. (Inherited from NodeShape.) | 
| .gif) | ManualRouteAction | Gets the mouse action that initiates manual line routing. | 
| .gif) | MaximumSize | Gets the maximum size for the shape. (Inherited from ShapeElement.) | 
| .gif) | MinimumResizableSize | Gets the minimum size to which the shape can be resized. (Inherited from NodeShape.) | 
| .gif) | MinimumSize | Gets the minimum height and width of the diagram. (Overrides NodeShape.MinimumSize.) | 
| .gif) | ModelElement | Gets or sets the model element that is associated with the presentation element. (Inherited from PresentationElement.) | 
| .gif) | Name | Gets or sets the name of the diagram. | 
| .gif) | NavigationRoot | Gets the root shape for the diagram. | 
| .gif) | NeedsRenumber | Set this true if you change the order of child shapes anywhere on the diagram. The ZOrder of each shape will be reset. | 
| .gif) | NestedChildShapes | The list of shapes that are part of this shape, and are constrained to appear within the boundaries of this shape or diagram. (Inherited from ShapeElement.) | 
| .gif) | NestedShapesMargin | Gets the margin between nested shapes in the diagram. (Overrides ShapeElement.NestedShapesMargin.) | 
| .gif) | NodeToNodeClearance | Gets or sets the margin between child node shapes. (Inherited from ShapeElement.) | 
| .gif) | OutlinePenId | Gets the ID of the pen that draws the outline for the diagram. (Overrides ShapeElement.OutlinePenId.) | 
| .gif) | OutlinePenWidth | Gets the width of the outline for the shape. (Inherited from ShapeElement.) | 
| .gif) | PaintMoveableDecoratorSelectionLines | (Inherited from ShapeElement.) | 
| .gif) | PanZoomAction | Gets the mouse action that initiates zooming. | 
| .gif) | ParentLink | Gets the relationship instance from the shape to the parent shape. (Inherited from ShapeElement.) | 
| .gif) | ParentShape | Gets the parent shape element. To appear on a diagram, a shape or connector must have a parent. (Inherited from ShapeElement.) | 
| .gif) | Partition | Gets or sets the Partition that contains the element. (Inherited from ModelElement.) | 
| .gif) | Perimeter | Gets the perimeter (path) around the shape. (Inherited from ShapeElement.) | 
| .gif) | PortFixedFlags | Gets the flags that determine whether a port shape is fixed to its position. (Inherited from NodeShape.) | 
| .gif) | RelatedShapeToEmphasize | Gets the related shape to visually emphasize to the user when this shape is selected. (Inherited from ShapeElement.) | 
| .gif) | RelativeChildShapes | The list of shapes that are part of this shape, but can appear outside the boundaries of this shape. (Inherited from ShapeElement.) | 
| .gif) | RequiresWatermark | Gets the diagram and verifies whether a watermark should appear for it. | 
| .gif) | ResizableSides | Gets the sides of the shape that the user can resize. (Inherited from NodeShape.) | 
| .gif) | ResizeAction | Gets the mouse action that initiates the resizing of a shape. | 
| .gif) | RouteJumpType | Gets or sets the jump style to use when a link shape crosses over another link shape on the diagram. | 
| .gif) | RoutingStyle | Gets or sets the way link shapes are styled on the diagram. | 
| .gif) | SelectAction | Gets the mouse action that initiates the selection of a shape. | 
| .gif) | SelectionRules | Gets the rules that determine which elements in the diagram can be selected in a diagram and whether the diagram itself can be selected. | 
| .gif) | ShapeFields | Parts of a shape such as text rows and decorators. (Inherited from ShapeElement.) | 
| .gif) | ShapeGeometry | Gets the geometry of the diagram. (Overrides ShapeElement.ShapeGeometry.) | 
| .gif) | ShouldAutoPlaceChildShapes | Gets a shape and verifies whether its nested child shapes should be automatically positioned on the diagram. (Inherited from NodeShape.) | 
| .gif) | ShouldTryParentShapeForMergeOnToolboxDoubleClick | If true, when the user double-clicks a toolbox item with this shape selected, if the tool cannot be merged with this shape, then a merge with the parent shape will be attempted. Defaults to true. (Inherited from ShapeElement.) | 
| .gif) | ShowGrid | Gets the diagram and verifies whether the grid should appear for it or sets the visibility state of the diagram. | 
| .gif) | Size | Gets or sets the size of the shape. (Inherited from NodeShape.) | 
| .gif) | SnapToGrid | If true, shapes on the diagram are adjusted to align with a grid when they are moved by the user. Default value is true. | 
| .gif) | Store | Gets the Store that contains the element. (Inherited from ModelElement.) | 
| .gif) | StyleSet | Gets an instance of the style set for the shape. (Inherited from ShapeElement.) | 
| .gif) | Subject | Gets or sets the subject for the presentation element. Defaults to the same object as ModelElement. (Inherited from PresentationElement.) | 
| .gif) | SupportsPorts | Gets the diagram and verifies whether it contains ports. | 
| .gif) | TargetToolboxItemFilterAttributes | Gets the collection of filter attributes for the toolbox that is assigned to the diagram. (Overrides ShapeElement.TargetToolboxItemFilterAttributes.) | 
| .gif) | ToolboxAction | Gets the mouse action that invokes a response when the user clicks the Toolbox. | 
| .gif) | ToRoleLinkShapes | Gets the collection of link shapes for which this shape is the target. (Inherited from NodeShape.) | 
| .gif) | WatermarkText | Gets the watermark text that is assigned to the diagram. | 
| .gif) | ZOrder | Determines the order in which this shape will be displayed relative to other shapes on the diagram. Normally set from the order of child shapes. (Inherited from ShapeElement.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AccessibleDoDefaultAction | Performs the default action for the accessible object. (Inherited from ShapeElement.) | 
| .gif) | AddImageFormat | Adds the format of the diagram image to IDataObject, which is responsible for transferring data. | 
| .gif) | Associate(DiagramView) | Displays the diagram in the specified diagram view. | 
| .gif) | Associate(ModelElement) | Assigns a model element to the presentation element. The same effect as setting ModelElement. (Inherited from PresentationElement.) | 
| .gif) | AutoLayoutChildShapes | Positions the collection of shapes in the diagram automatically. (Inherited from NodeShape.) | 
| .gif) | AutoLayoutShapeElements(ICollection) | Lays out the collection of element shapes on the diagram automatically. | 
| .gif) | AutoLayoutShapeElements(ICollection, VGRoutingStyle, PlacementValueStyle, Boolean) | Lays out the collection of element shapes on the diagram automatically. | 
| .gif) | CalculateDerivedVisible | Verifies whether the child shape appears. (Inherited from ShapeElement.) | 
| .gif) | CalculateMinimumSizeBasedOnChildren | Calculates the minimum size needed so that the shape can include its child shapes. (Inherited from NodeShape.) | 
| .gif) | CanMerge | Verifies whether a source element can be added to this element. (Inherited from ModelElement.) | 
| .gif) | CanShapeContainConnectors | |
| .gif) | ChooseMergeTarget(ElementGroup) | Selects a target element to accept as its child an element that the user wants to copy, drag, or create. (Inherited from ModelElement.) | 
| .gif) | ChooseMergeTarget(ElementGroupPrototype) | Selects a target element to accept as its child an element that the user wants to copy, drag, or create. (Inherited from ModelElement.) | 
| .gif) | ChooseParentShape | Selects a parent shape for a new child shape, typically this shape. (Inherited from ShapeElement.) | 
| .gif) | ChooseRelationship | Called by FixUpChildShapes() to get the relationship to create between the child shape and its parent shape. (Inherited from NodeShape.) | 
| .gif) | CoerceSelection | Allows a shape to determine which other shapes are selected. (Inherited from ShapeElement.) | 
| .gif) | Collapse | Collapses the shape so that its nested child shapes are not visible. (Inherited from NodeShape.) | 
| .gif) | ConfiguredChildPortShape | Configures a child port shape and positions it, if necessary. (Inherited from NodeShape.) | 
| .gif) | ConnectNestedChild | |
| .gif) | Copy() | Creates a copy of the element in the model. (Inherited from ModelElement.) | 
| .gif) | Copy(IEnumerable<Guid>) | Creates a copy of the element and its child links and elements. (Inherited from ModelElement.) | 
| .gif) | CopyImageToClipboard | Copies a collection of shapes and their parent shapes to the Clipboard as an image. | 
| .gif) | CreateBackgroundGradientField | Creates the area field, which displays the gradient fill in the background of the shape. (Inherited from NodeShape.) | 
| .gif) | CreateBitmap | Creates an image of the selected shapes. | 
| .gif) | CreateChildShape | Creates a child shape for the parent shape. (Overrides ShapeElement.CreateChildShape(ModelElement).) | 
| .gif) | CreateClassStyleSet | Creates a class style set for the shape type. (Inherited from ShapeElement.) | 
| .gif) | CreateConnectionPoint | 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.) | 
| .gif) | CreateDecorators | Creates a collection of decorators for the shape type. (Inherited from ShapeElement.) | 
| .gif) | CreateDefaultBounds | Creates default bounding rectangle for the shape. (Inherited from NodeShape.) | 
| .gif) | CreateGestureExtensionController | |
| .gif) | CreateInstanceStyleSet | Creates a style set for the shape. (Inherited from ShapeElement.) | 
| .gif) | CreateManualRouteAction | Creates the mouse action for manual link routing. | 
| .gif) | CreateMetafile(ICollection) | Creates a metafile for the specified shapes and their child shapes. | 
| .gif) | CreateMetafile(ICollection, String) | Creates a metafile for the specified shapes and their child shapes. | 
| .gif) | CreateMetafile(ICollection, String, Boolean) | |
| .gif) | CreateShapeFields | Creates a collection of shape fields for the shape type. (Inherited from ShapeElement.) | 
| .gif) | Delete() | Deletes an element from the model. (Inherited from ModelElement.) | 
| .gif) | Delete(array<Guid[]) | Deletes an element from the model. (Inherited from ModelElement.) | 
| .gif) | DetermineHighlightShape | Finds the highlighted shape in a chain of shapes. (Inherited from ShapeElement.) | 
| .gif) | Disassociate | Removes the diagram from the specified diagram view. | 
| .gif) | DisconnectNestedChild | |
| .gif) | Dispose() | Releases all resources used by the Diagram. | 
| .gif) | Dispose(Boolean) | Releases the unmanaged resources used by the Diagram and optionally releases the managed resources. | 
| .gif) | DoFoldToShape | Calculates the point where a connector will touch the perimeter of a shape. Override this if you define a non-rectangular shape. (Inherited from ShapeElement.) | 
| .gif) | DoHitTest(PointD, DiagramHitTestInfo) | Returns true if the specified point is within the shape. (Inherited from ShapeElement.) | 
| .gif) | DoHitTest(PointD, DiagramHitTestInfo, Boolean) | Performs a hit test on the diagram. (Overrides ShapeElement.DoHitTest(PointD, DiagramHitTestInfo, Boolean).) | 
| .gif) | DoHitTest(DiagramClientView, PointD, List<ShapeElement>, Boolean) | Performs a hit test on the diagram. | 
| .gif) | DoHitTestSelection | Returns true if a given point is in the selection handles around the shape. (Inherited from ShapeElement.) | 
| .gif) | DoKeyboardNavigation | Navigates the from shape to shape, using the keyboard. (Inherited from ShapeElement.) | 
| .gif) | DrawResizeFeedback | Draws the resizing feedback for the shape. (Inherited from ShapeElement.) | 
| .gif) | EnsureConnectionPoints | Override to set points on the edge of the shape at which connectors should terminate. (Inherited from NodeShape.) | 
| .gif) | EnsureGraphExists | Verifies whether the grid exists for the shape. (Inherited from NodeShape.) | 
| .gif) | EnsureGraphLayoutObjectsExist | Verifies whether the shape and its child shapes are in the graph wrapper. (Inherited from NodeShape.) | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | ExcludeFromClipRegion | Excludes the shape and its child shapes from the clipping region. (Inherited from ShapeElement.) | 
| .gif) | ExcludeGeometryFromClipRegion | Excludes the geometry of a shape and its child shapes from the clipping region. (Inherited from ShapeElement.) | 
| .gif) | ExcludeShapeFromSizeCalculation | If true the shape will not be taken into account to calculate the size of the parent shape (Inherited from NodeShape.) | 
| .gif) | Expand | Expands the shape so that its nested child shapes are visible and fit inside it. (Inherited from NodeShape.) | 
| .gif) | Finalize | 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().) | 
| .gif) | FindDecorator(String) | Finds the shape decorator that has a given name. (Inherited from ShapeElement.) | 
| .gif) | FindFirstChild | Searches for the first child in the navigation sequence for the shape. (Inherited from ShapeElement.) | 
| .gif) | FindFreeArea(RectangleD) | Finds an empty area on the grid for the shape. (Inherited from NodeShape.) | 
| .gif) | FindFreeArea(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.) | 
| .gif) | FindLastChild | Searches for the last child in the navigation sequence for the shape. (Inherited from ShapeElement.) | 
| .gif) | FindNextChild | Searches for the next child in the navigation sequence for the shape. (Inherited from ShapeElement.) | 
| .gif) | FindNextInChildFields | Searches for the next shape field in the navigation sequence. (Inherited from ShapeElement.) | 
| .gif) | FindPreviousChild | Searches for the previous child in the navigation sequence for the shape. (Inherited from ShapeElement.) | 
| .gif) | FindPreviousInChildFields | Searches for the previous shape field in the navigation sequence. (Inherited from ShapeElement.) | 
| .gif) | FindShape | Finds the shape for the specified element on the diagram. | 
| .gif) | FindShapeField(String) | Searches for a shape field in a shape. (Inherited from ShapeElement.) | 
| .gif) | FixUpChildShapes | Creates or adjusts the child shapes that should be created when a model element is created or updated. Called by Diagram.FixUpDiagram(). (Inherited from ShapeElement.) | 
| .gif) .gif) | FixUpDiagram | Ensures that the shape and its parent shapes are created and configured correctly. | 
| .gif) | FixUpDiagramSelection | Updates the selection in the diagram. | 
| .gif) | Focused | Verifies whether the shape has the focus. (Inherited from ShapeElement.) | 
| .gif) | GetAbsoluteBoundsValue | Gets the absolute bounds for the shape. (Inherited from NodeShape.) | 
| .gif) | GetAccessibilityObject | Gets the accessible object that is assigned to the shape. (Inherited from ShapeElement.) | 
| .gif) | GetChildElements | Gets a collection of child shapes that belong to the parent shape. (Inherited from ShapeElement.) | 
| .gif) | GetCompliantAnchorPoint | 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.) | 
| .gif) | GetCompliantGroupBounds | Updates the collection of ghost shapes so that it complies with the source shape's group bounds rules. | 
| .gif) | GetCursor | Gets the pointer that appears when the mouse is over the shape. (Inherited from ShapeElement.) | 
| .gif) | GetDomainClass | Gets the most-derived domain class for this element. (Inherited from ModelElement.) | 
| .gif) | GetDragOverToolTipText | Gets the tooltip text that appears when the mouse is over the shape. (Inherited from ShapeElement.) | 
| .gif) | GetFieldAccessibleDescription | Gets the description for a field in the shape. (Inherited from ShapeElement.) | 
| .gif) | GetFieldAccessibleName | Gets the name of a field in the shape. (Inherited from ShapeElement.) | 
| .gif) | GetFieldAccessibleValue | Gets the value for a field in the shape. (Inherited from ShapeElement.) | 
| .gif) | GetFieldRepresentedElement | Gets the primary element that the child shape represents. (Inherited from ShapeElement.) | 
| .gif) | GetFieldRepresentedProperty | Gets the property information for a field in the shape. (Inherited from ShapeElement.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetIsExpandedValue | Gets the value for the IsExpanded property. (Inherited from NodeShape.) | 
| .gif) | GetPotentialMouseAction | Gets the mouse action to initiate when the user clicks a point in the diagram. (Overrides ShapeElement.GetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo).) | 
| .gif) | GetRoleCollection<TCollection, TElement>(Guid) | Gets or creates the linked element collection (Inherited from ModelElement.) | 
| .gif) | GetService | Gets a service. | 
| .gif) | GetShapeLuminosity | Calculates the luminosity of the shape. (Inherited from ShapeElement.) | 
| .gif) | GetSourceRolePlayerForLinkMappedByConnector | Gets the source role for the link shape. | 
| .gif) | GetSubFieldAccessibleDescription | Gets the description for a child field in the shape. (Inherited from ShapeElement.) | 
| .gif) | GetSubFieldAccessibleName | Gets the name of a child field in the shape. (Inherited from ShapeElement.) | 
| .gif) | GetSubFieldAccessibleValue | Gets the value for a child field in the shape. (Inherited from ShapeElement.) | 
| .gif) | GetSubFieldRepresentedElements | Gets a collection of elements that the shape for the child field represents. (Inherited from ShapeElement.) | 
| .gif) | GetSubFieldRepresentedProperty | Gets the property for the child field. (Inherited from ShapeElement.) | 
| .gif) | GetSubFieldRepresentedPropertyElements | Gets the element that contains the property for the child field. (Inherited from ShapeElement.) | 
| .gif) | GetTargetRolePlayerForLinkMappedByConnector | Gets the target role for the link shape. | 
| .gif) | GetToolTipText | Gets the tooltip text for the shape to which the mouse is pointing. (Inherited from ShapeElement.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | HandleNewSwimLaneInsertion | Adds a swimlane to the diagram. | 
| .gif) | HasCachedDragOverResult | Verifies whether the results are cached for the drag-over mouse event. (Inherited from ShapeElement.) | 
| .gif) | Hide | Hides the shape and all its children. (Inherited from ShapeElement.) | 
| .gif) | HideCustomToolTip | Hides the custom tooltip for the shape. (Inherited from ShapeElement.) | 
| .gif) | HitTest | Gets the shapes to include in the hit test. | 
| .gif) | InitializeDecorators | Initializes and adds fields to the shape type. (Inherited from ShapeElement.) | 
| .gif) | InitializeInstanceResources | Initializes the resources for an instance of the shape. (Inherited from ShapeElement.) | 
| .gif) | InitializeResources | Initializes the resources for the shape. (Inherited from ShapeElement.) | 
| .gif) | InitializeShapeFields | Provides support for background gradients. (Inherited from NodeShape.) | 
| .gif) | Invalidate() | Invalidates shapes in the diagram. (Overrides ShapeElement.Invalidate().) | 
| .gif) | Invalidate(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.) | 
| .gif) | Invalidate(RectangleD) | Makes sure that the shape and its old location will be repainted at the end of the transaction. (Inherited from ShapeElement.) | 
| .gif) | InvalidateRectangle | Invalidates the shapes that are in the selection rectangle. | 
| .gif) | IsConnectorMappedToLink | Verifies whether the link has a link shape on the diagram. | 
| .gif) | IsDescendantOf | Verifies whether the shape is a descendent of another shape. (Inherited from ShapeElement.) | 
| .gif) | IsNavigationKey(Char) | Verifies whether the key is used as a navigational command. (Inherited from ShapeElement.) | 
| .gif) | IsNavigationKey(Keys) | Verifies whether the key data is used as a navigational command. (Inherited from ShapeElement.) | 
| .gif) | IsOrphaned | Verifies whether a shape is linked to another shape in the diagram. | 
| .gif) | IsSelected | Verifies whether a shape is selected in a diagram view. | 
| .gif) | IterateShapes | Iterates through a shape and its child shapes. (Inherited from ShapeElement.) | 
| .gif) | LassoSelect | Gets the list of shapes that are in the selection rectangle. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | MergeConfigure | Not used for presentation elements. (Inherited from PresentationElement.) | 
| .gif) | MergeDisconnect | Disconnects a source element from a target element. (Inherited from ModelElement.) | 
| .gif) | MergeRelate | Creates a relationship between a model element and a group of model elements. (Inherited from PresentationElement.) | 
| .gif) | ModifyLuminosity | Calculates the luminosity of the highlight for the shape. (Inherited from ShapeElement.) | 
| .gif) | MoveByRepositioning(DiagramDragEventArgs) | Repositions the shapes in the group by the amount that the position of the mouse determines. (Inherited from ShapeElement.) | 
| .gif) | MoveByRepositioning(ElementGroupPrototype, DiagramItemCollection, PointD, DiagramItem) | Repositions the shapes in the group by the amount that the position of the mouse determines. (Inherited from ShapeElement.) | 
| .gif) | NavigateAcrossLinks | Selects the shapes or sets the focus on the shapes that are connected to this shape. (Inherited from NodeShape.) | 
| .gif) | NavigateAscend | Navigates to the next ancestor in the navigation sequence and updates the focus. Called in response to user navigation keystrokes. (Inherited from ShapeElement.) | 
| .gif) | NavigateDescend | Navigates to the next descendent in the navigation sequence and updates the focus. Called in response to user navigation keystrokes. (Inherited from ShapeElement.) | 
| .gif) | NavigateTo | Navigates to a specific shape in the navigation sequence and updates the focus. (Inherited from ShapeElement.) | 
| .gif) | NavigateToFirst | 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.) | 
| .gif) | NavigateToLast | 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.) | 
| .gif) | NavigateToNext | Navigates to the next shape in the navigation sequence. Called in response to user navigation keystrokes. (Inherited from ShapeElement.) | 
| .gif) | NavigateToPrevious | Navigates to the previously selected shape in the navigation sequence. Called in response to user navigation keystrokes. (Inherited from ShapeElement.) | 
| .gif) | OnAbsoluteBoundsChanged | Called when the size or location of the shape have changed. (Inherited from NodeShape.) | 
| .gif) | OnAssociated | Performs an action when the diagram has been associated with a diagram view. | 
| .gif) | OnAssociatedPropertyChanged | Updates the shape when the value of an in-memory store property changes for a field in the shape. (Inherited from ShapeElement.) | 
| .gif) | OnBeforePaint | Updates resources, such as pens and brushes, before they are used to paint the shape. (Inherited from ShapeElement.) | 
| .gif) | OnBeforeReroute | Performs an action when a link is about to be rerouted in the diagram. | 
| .gif) | OnBeginEdit | Called when the user starts to edit a text field. (Inherited from ShapeElement.) | 
| .gif) | OnBoundsFixup | Override this method to customize how the bounds for the shape are determined. (Inherited from NodeShape.) | 
| .gif) | OnChildAssociatedPropertyChanged | Performs an action when a property that is associated with a child shape has changed. | 
| .gif) | OnChildConfigured | Configures a port on the shape after the shape is added to the diagram. (Inherited from NodeShape.) | 
| .gif) | OnChildConfiguring | Performs an action when a child shape has been configured. (Overrides NodeShape.OnChildConfiguring(ShapeElement, Boolean).) | 
| .gif) | OnClick | Called when the user clicks the shape. (Inherited from ShapeElement.) | 
| .gif) | OnCopy | Called when this element has been created as a copy of another element. (Inherited from ModelElement.) | 
| .gif) | OnDeleted | Called when this element has been deleted from the model. (Inherited from ModelElement.) | 
| .gif) | OnDeleting | Called when this element is about to be deleted. (Inherited from ModelElement.) | 
| .gif) | OnDisassociated | Performs an action when the diagram is disassociated from a diagram view. | 
| .gif) | OnDoubleClick | Called when the user double-clicks the shape. (Inherited from ShapeElement.) | 
| .gif) | OnDragDrop | Called when the user drags an item onto the shape. (Inherited from ShapeElement.) | 
| .gif) | OnDragEnter | Called when the mouse enters a shape during a drag operation. (Inherited from ShapeElement.) | 
| .gif) | OnDragLeave | Called when the mouse moves out of a shape. (Inherited from ShapeElement.) | 
| .gif) | OnDragOver | Override this method to respond to the movement of the mouse over the shape. Set e.Effect to indicate the cursor feedback to the user. (Inherited from ShapeElement.) | 
| .gif) | OnElementEventsEnded | Raises an event after all other events for a transaction have been raised. | 
| .gif) | OnElementEventsEnding | Raises an event after all other events for a transaction have been raised. | 
| .gif) | OnEndEdit | Called when the user ends editing a text field. (Inherited from ShapeElement.) | 
| .gif) | OnGiveFeedback | Changes the pointer and performs a custom action when the pointer is dragged across the designer. | 
| .gif) | OnGridPropertyChanged | Performs an action when the grid properties have changed. | 
| .gif) | OnInitialize | Performs an action when the Diagram class is initialized. (Overrides ShapeElement.OnInitialize().) | 
| .gif) | OnKeyDown | Performs an action when the user presses a key while the diagram has the focus. (Overrides NodeShape.OnKeyDown(DiagramKeyEventArgs).) | 
| .gif) | OnKeyPress | Alerts listeners that a key has been pressed. (Inherited from NodeShape.) | 
| .gif) | OnKeyUp | Called when a key is released. (Inherited from ShapeElement.) | 
| .gif) | OnMouseDown | Called when the user presses a mouse key. (Inherited from ShapeElement.) | 
| .gif) | OnMouseEnter | Called when the mouse enters a shape. (Inherited from ShapeElement.) | 
| .gif) | OnMouseHover | Called when the mouse hovers over a shape. (Inherited from ShapeElement.) | 
| .gif) | OnMouseLeave | Called when the mouse leaves a shape. (Inherited from ShapeElement.) | 
| .gif) | OnMouseMove | Called repeatedly when the user moves the mouse. (Inherited from ShapeElement.) | 
| .gif) | OnMouseUp | Called when a mouse button is released. (Inherited from ShapeElement.) | 
| .gif) | OnMouseWheel | Called when the user has rotated the mouse wheel. (Inherited from ShapeElement.) | 
| .gif) | OnOrphaned | Called when a (Inherited from ShapeElement.) | 
| .gif) | OnPaintEmphasis | Called when emphasis has been applied to the selected shape. (Inherited from ShapeElement.) | 
| .gif) | OnPaintFeedback | Called when drag-and-drop feedback is painted. (Inherited from ShapeElement.) | 
| .gif) | OnPaintSelection | Called to paint the selection highlight. (Inherited from ShapeElement.) | 
| .gif) | OnPaintShape | Lets derived classes perform an action when the diagram background and grid are painted. (Overrides ShapeElement.OnPaintShape(DiagramPaintEventArgs).) | 
| .gif) | OnParentNodeShapeChanged | This method is invoked if a) ParentShape is NodeShape b) ParentShape either moved or resized. (Inherited from NodeShape.) | 
| .gif) | OnResurrected | Called when this element has been added back to a model. (Inherited from ModelElement.) | 
| .gif) | OnRolePlayerPositionChanged | Called when the position of a role has changed. (Inherited from ModelElement.) | 
| .gif) | OnRolePlayerPositionChanging | Called when a role player position is about to change. (Inherited from ModelElement.) | 
| .gif) | OnShapeInserted | Called when a shape has been inserted as a child of another. (Inherited from ShapeElement.) | 
| .gif) | OnShapeRemoved | Called when the shape has been removed as a child shape from its parent shape. (Inherited from ShapeElement.) | 
| .gif) | OnToolboxItemSelected | |
| .gif) | OnToolboxSelectionChanged | |
| .gif) | OnTransactionBeginning | Lets derived classes perform an action when a transaction starts. | 
| .gif) | OnTransactionCommitting | Lets derived classes perform an action when a transaction is being committed. | 
| .gif) | OnTransactionRolledBack | Lets derived classes perform an action after a transaction is rolled back. | 
| .gif) | OnTransactionRollingBack | Lets derived classes perform an action when a transaction is being rolled back. | 
| .gif) | OnViewMouseEnter | Lets derived classes perform an action when the mouse pointer enters the diagram client view. | 
| .gif) | OnViewMouseHover | Lets derived classes perform an action when the mouse pointer is over the diagram client view. | 
| .gif) | OnViewMouseLeave | Lets derived classes perform an action when the mouse pointer leaves the diagram client view. | 
| .gif) | PerformLineRoutingRule | Determines how links between elements appear in the diagram. | 
| .gif) | PerformResizeParentRule() | Alerts the Domain-Specific Language Designer that a parent shape must be resized to match its child shapes. (Inherited from ShapeElement.) | 
| .gif) | PerformResizeParentRule(Boolean, ShapeElement) | Alerts the Domain-Specific Language Designer that a parent shape must be resized to match its child shapes. (Inherited from ShapeElement.) | 
| .gif) | PerformShapeAnchoringRule | Anchors the shape to the diagram. (Inherited from NodeShape.) | 
| .gif) | PermitChildVisibility | Verifies whether the child shape can appear. (Inherited from NodeShape.) | 
| .gif) | PostDeserialization | Adjusts the location of shapes on the diagram after the diagram has been deserialized. | 
| .gif) | Draws the diagram. | |
| .gif) | ProcessVisibilityChange | Processes a shape's change in visibility. (Inherited from NodeShape.) | 
| .gif) | PurgeLayoutObjects | Removes the objects that are used to position the shape on the diagram grid. (Inherited from ShapeElement.) | 
| .gif) | PurgePoints | Removes points for the shape on the diagram grid. (Inherited from ShapeElement.) | 
| .gif) | RebuildShape | Rebuilds the shape. (Inherited from ShapeElement.) | 
| .gif) | RemoveLayoutObject | Removes the shape, including any relative and nested child shapes, from the diagram grid. (Inherited from ShapeElement.) | 
| .gif) | Renumber | Renumbers the shapes in the diagram. | 
| .gif) | ReparentSwimlaneChild | |
| .gif) | RepositionShapes | Repositions the shapes in the diagram. | 
| .gif) | Reroute | Reroutes links between elements on the diagram. | 
| .gif) .gif) | RunInShapeFixupContextForMetafileCreation | |
| .gif) | Selected | Verifies whether the shape is selected in a specified view. (Inherited from ShapeElement.) | 
| .gif) | SetAbsoluteBoundsValue | Sets the absolute bounds for the diagram. (Overrides NodeShape.SetAbsoluteBoundsValue(RectangleD).) | 
| .gif) | SetInitialGraphLayoutVisibility | Sets the visibility of the graph. (Inherited from ShapeElement.) | 
| .gif) | SetIsExpandedValue | Sets the value for the IsExpanded property. (Inherited from NodeShape.) | 
| .gif) | SetShowHideState | Sets the visibility of the shape and all its children. (Inherited from ShapeElement.) | 
| .gif) | SetShowHideStateImplementation | Sets the visibility of the shape. (Inherited from ShapeElement.) | 
| .gif) | ShouldAddShapeForElement | Verifies whether a shape can have a child shape assigned to it. (Overrides ShapeElement.ShouldAddShapeForElement(ModelElement).) | 
| .gif) | ShouldExcludeFromInvalidationTracking | Verifies whether specific shape types should be excluded from invalidation. | 
| .gif) | ShouldReparentOnMove | Verifies whether a child shape should be added to a new parent when the child shape is moved. (Inherited from ShapeElement.) | 
| .gif) | ShouldReportException | Verifies whether an exception that is thrown from the base design surface should be reported. | 
| .gif) | Show | Makes a shape and all its children visible. (Inherited from ShapeElement.) | 
| .gif) | ShowCustomToolTip | Makes a shape's custom tooltip visible. (Inherited from ShapeElement.) | 
| .gif) | Side | Assigns a side of the shape to the port. (Inherited from NodeShape.) | 
| .gif) | ToString | Gets the name of the shape and its type. (Inherited from ShapeElement.) | 
| .gif) | TranslateGeometryToAbsoluteBounds | Converts the relative bounds to absolute bounds for the shape's geometry. (Inherited from ShapeElement.) | 
| .gif) | TranslateGeometryToRelativeBounds | Converts the absolute bounds to relative bounds for the shape's geometry. (Inherited from ShapeElement.) | 
| .gif) | TranslateToAbsoluteBounds | Converts the relative bounds to absolute bounds for the shape. (Inherited from ShapeElement.) | 
| .gif) | TranslateToRelativeBounds | Converts the absolute bounds to relative bounds for the shape. (Inherited from ShapeElement.) | 
| .gif) | UnhandledException | Verifies who should report an exception that is thrown from the base design surface. | 
| .gif) | UpdateChildVisibility | Updates the visibility status for the child shape. (Inherited from NodeShape.) | 
| .gif) | UpdateDerivedVisible | Updates the visible state of the derived shape. (Inherited from ShapeElement.) | 
| .gif) | UpdateGeometryLuminosity(DiagramClientView, Brush) | Updates the luminosity for the brush. (Inherited from ShapeElement.) | 
| .gif) | UpdateGeometryLuminosity(DiagramClientView, Pen) | Updates the luminosity for the pen. (Inherited from ShapeElement.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | AbsoluteBoundsChanged | Occurs when the absolute bounds for the shape change. (Inherited from NodeShape.) | 
| .gif) | Click | Occurs when the user clicks the mouse over a shape. (Inherited from ShapeElement.) | 
| .gif) | DiagramAdded | Occurs when a diagram is added. | 
| .gif) | DiagramRemoved | Occurs when a diagram is removed. | 
| .gif) | DoubleClick | Occurs when the user double-clicks the mouse. (Inherited from ShapeElement.) | 
| .gif) | KeyDown | Occurs when the user presses a key. (Inherited from ShapeElement.) | 
| .gif) | KeyPress | Occurs when the user presses and releases a key. (Inherited from ShapeElement.) | 
| .gif) | KeyUp | Occurs when the user releases a key. (Inherited from ShapeElement.) | 
| .gif) | MouseDown | Occurs when the user presses the mouse button. (Inherited from ShapeElement.) | 
| .gif) | MouseMove | Occurs when the user moves the mouse. (Inherited from ShapeElement.) | 
| .gif) | MouseUp | Occurs when the user releases the mouse button. (Inherited from ShapeElement.) | 
| .gif) | MouseWheel | Occurs when the user rotates the mouse wheel. (Inherited from ShapeElement.) | 
Top
Extension Methods
| Name | Description | |
|---|---|---|
| .gif) | AddExtension(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.) | 
| .gif) | AddExtension(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.) | 
| .gif) | AddExtension(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.) | 
| .gif) | AddExtension(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.) | 
| .gif) | AddExtension<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.) | 
| .gif) | CanDelete | Deletes the element from the model. (Defined by ImmutabilityExtensionMethods.) | 
| .gif) | GetAllExtensions | Return an enumerable that performs a breadth first traversal across the tree of extension elements embedded in this ModelElement. (Defined by ModelElementExtensionMethods.) | 
| .gif) | GetBaseElement | Returns the root of the virtual MEL in which the specified ModelElement is participating. (Defined by ModelElementExtensionMethods.) | 
| .gif) | GetExtension(Guid) | Overloaded. (Defined by ModelElementExtensionMethods.) | 
| .gif) | GetExtension(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.) | 
| .gif) | GetExtension(DomainClassInfo) | Overloaded. (Defined by ModelElementExtensionMethods.) | 
| .gif) | GetExtension<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.) | 
| .gif) | GetLocks | Get the lock flags for this element. This will include any locks enabled on the Partition containing the element. (Defined by ImmutabilityExtensionMethods.) | 
| .gif) | IsExtendedBy(Guid) | Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type. (Defined by ModelElementExtensionMethods.) | 
| .gif) | IsExtendedBy(Type) | Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type. (Defined by ModelElementExtensionMethods.) | 
| .gif) | IsExtendedBy(DomainClassInfo) | Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type. (Defined by ModelElementExtensionMethods.) | 
| .gif) | IsLocked | Test whether this element has any of a specified set of locks (Defined by ImmutabilityExtensionMethods.) | 
| .gif) | RemoveExtension(Type) | Overloaded. Remove any extension of this ModelElement that is of a particular type. (Defined by ModelElementExtensionMethods.) | 
| .gif) | RemoveExtension(Guid) | Overloaded. Remove any extension of the specified ModelElement that is of a particular type. (Defined by ModelElementExtensionMethods.) | 
| .gif) | RemoveExtension(DomainClassInfo) | Overloaded. Remove any extension of the specified ModelElement that is of a particular type. (Defined by ModelElementExtensionMethods.) | 
| .gif) | RemoveExtension(ExtensionElement) | Overloaded. Remove a specified ExtensionElement from the extensions of this ModelElement. (Defined by ModelElementExtensionMethods.) | 
| .gif) | SetLocks | Set the lock flags of this element (Defined by ImmutabilityExtensionMethods.) | 
| .gif) | TryGetExtension(Guid) | Overloaded. (Defined by ModelElementExtensionMethods.) | 
| .gif) | TryGetExtension(Type) | Overloaded. (Defined by ModelElementExtensionMethods.) | 
| .gif) | TryGetExtension(DomainClassInfo) | Overloaded. (Defined by ModelElementExtensionMethods.) | 
| .gif) | TryGetExtension<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
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | BaseFontNameDomainPropertyId | Represents the property ID for the base font name. | 
| .gif) .gif) | BaseFontSizeDomainPropertyId | Represents the property ID for the base font size. | 
| .gif) .gif) | DiagramIdDomainPropertyId | Represents the property ID for the diagram. | 
| .gif) .gif) | DoLineRoutingDomainPropertyId | Represents the ID for the DoLineRoutingDomainPropertyId property. | 
| .gif) .gif) | DomainClassId | Represents the ID for a domain class shape. | 
| .gif) .gif) | DoResizeParentDomainPropertyId | Represents the ID for the DoResizeParentDomainPropertyId property. | 
| .gif) .gif) | DoShapeAnchoringDomainPropertyId | Represents the ID for the DoShapeAnchoringDomainPropertyId property. | 
| .gif) .gif) | DoViewFixupDomainPropertyId | Represents the ID for the DoViewFixupDomainPropertyId property. | 
| .gif) .gif) | IsCompleteViewDomainPropertyId | Represents the ID for the IsCompleteViewDomainPropertyId property. | 
| .gif) .gif) | NameDomainPropertyId | Represents the ID for the NameDomainPropertyId property. | 
| .gif) .gif) | PlaceUnplacedShapesDomainPropertyId | Represents the ID for the PlaceUnplacedShapesDomainPropertyId property. | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IMergeElements.CanMerge | Returns true if this element can merge with the content of the prototype. (Inherited from ModelElement.) | 
| .gif) .gif) | IMergeElements.ChooseMergeTarget(ElementGroup) | (Inherited from ModelElement.) | 
| .gif) .gif) | IMergeElements.ChooseMergeTarget(ElementGroupPrototype) | (Inherited from ModelElement.) | 
| .gif) .gif) | IMergeElements.MergeConfigure | (Inherited from ModelElement.) | 
| .gif) .gif) | IMergeElements.MergeDisconnect | (Inherited from ModelElement.) | 
| .gif) .gif) | IMergeElements.MergeRelate | (Inherited from ModelElement.) | 
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.