DomainClass GenericLinkShape Description for Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.Modeling.ModelElement
    Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
      Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
        Microsoft.VisualStudio.Modeling.Diagrams.LinkShape
          Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShapeBase
            Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape
              Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape
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.GenericLinkShape.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainModelOwnerAttribute(GetType(CoreDesignSurfaceDomainModel))> _
<CLSCompliantAttribute(True)> _
<DomainObjectIdAttribute("d81e1f06-f6bc-4885-b21c-3626ded28e9d")> _
Public Class GenericLinkShape _
    Inherits BinaryLinkShape
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainModelOwnerAttribute(typeof(CoreDesignSurfaceDomainModel))]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute("d81e1f06-f6bc-4885-b21c-3626ded28e9d")]
public class GenericLinkShape : BinaryLinkShape
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainModelOwnerAttribute(typeof(CoreDesignSurfaceDomainModel))]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute(L"d81e1f06-f6bc-4885-b21c-3626ded28e9d")]
public ref class GenericLinkShape : public BinaryLinkShape
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainModelOwnerAttribute(typeof(CoreDesignSurfaceDomainModel))>]
[<CLSCompliantAttribute(true)>]
[<DomainObjectIdAttribute("d81e1f06-f6bc-4885-b21c-3626ded28e9d")>]
type GenericLinkShape =  
    class
        inherit BinaryLinkShape
    end
public class GenericLinkShape extends BinaryLinkShape
The GenericLinkShape type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | GenericLinkShape(Partition, array<PropertyAssignment[]) | Constructor | 
| .gif) | GenericLinkShape(Store, array<PropertyAssignment[]) | Constructor | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AbsoluteBoundingBox | Gets the bounding rectangle of the link shape relative to the diagram. (Inherited from LinkShape.) | 
| .gif) | AbsoluteBoundingBoxToEnsureVisible | Gets the bounding rectangle that EnsureVisible will use. The rectangle is the same as AbsoluteBoundingBox but with height adjusted to be non-zero when width is non-zero. This is done because for single segment Links, the Height is 0 by default and can cause the selection bounds to return as 'empty' even when a link is truly selected. (Inherited from LinkShape.) | 
| .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 shape. (Inherited from ShapeElement.) | 
| .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 | Returns the name for this shape exposed to accessibility clients. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | AccessibleRole | Gets the role of the shape. (Inherited from ShapeElement.) | 
| .gif) | AccessibleState | Gets the state of the shape. (Inherited from ShapeElement.) | 
| .gif) | AccessibleValue | Gets the value of the shape. (Inherited from ShapeElement.) | 
| .gif) | AllowsChildrenInSelection | If true, the children of this shape can be included in the current selection group. (Inherited from ShapeElement.) | 
| .gif) | AllowsChildrenToResizeParent | true if this shape can be resized when the size or position of a child shape is changed. (Inherited from ShapeElement.) | 
| .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) | AnchorBothEnds | (Inherited from BinaryLinkShapeBase.) | 
| .gif) | BackgroundBrushId | Gets the ID for the brush that is used to paint the background of the shape. (Inherited from ShapeElement.) | 
| .gif) | BoundingBox | Gets the bounding rectangle of the link shape relative to its parent. (Inherited from LinkShape.) | 
| .gif) | CanFocus | Gets the shape and verifies whether it can receive the focus. (Inherited from ShapeElement.) | 
| .gif) | CanManuallyRoute | true if users can manually route the link shape between elements in the diagram; otherwise, false. (Inherited from LinkShape.) | 
| .gif) | CanMove | true if users can reposition the link in the diagram; otherwise, false (Inherited from LinkShape.) | 
| .gif) | CanMoveAnchorPoints | If true, the user can move the endpoints of this LinkShape around the boundaries of the connected shapes. (Inherited from LinkShape.) | 
| .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 | (Overrides ShapeElement.ClassStyleSet.) | 
| .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) | DecoratorFrom | Gets or sets the decorator, such as an arrow, on the From end of the relationship. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | Decorators | Gets the collection of decorators for the shape. (Inherited from ShapeElement.) | 
| .gif) | DecoratorsSize | (Inherited from BinaryLinkShapeBase.) | 
| .gif) | DecoratorTo | Gets or sets the decorator, such as an arrow, on the To end of the relationship. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | DefaultRoutingStyle | Gets the default routing style (straight or rectilinear) for the link, set in the DSL Definition. (Inherited from LinkShape.) | 
| .gif) | DefaultShapeField | Gets the default shape, which is the first shape that can receive focus. (Inherited from ShapeElement.) | 
| .gif) | DefaultSize | Gets the default size of the shape. (Inherited from ShapeElement.) | 
| .gif) | Diagram | Gets the diagram to which the shape belongs. (Inherited from ShapeElement.) | 
| .gif) | EdgePoints | The ordered list of points bounding the straight segments of the link shape, including two points at each jumps. (Inherited from LinkShape.) | 
| .gif) | EdgePointsNoJumps | The ordered list of points bounding the straight segments of the link shape. If the link has jumps, their points are not included in the list. (Inherited from LinkShape.) | 
| .gif) | EndSegmentBreakFactor | Gets the length of the link shape and determines how long the last line segment in the link shape must be. (Inherited from LinkShape.) | 
| .gif) | EnsureVisiblePreference | Preferences for the EnsureVisible method for this Shape. Default value is to return the VisiblePreference for the Diagram hosting this Shape. (Inherited from ShapeElement.) | 
| .gif) | Events | Gets the list of event handlers for the shape. (Inherited from ShapeElement.) | 
| .gif) | ExcludePath | get/set the graphics path This is a singleton on the BinaryLinkShape class. Do not dispose. Use immediately. Use Clone if another path is needed! (Inherited from BinaryLinkShapeBase.) | 
| .gif) | FixedFrom | Indicates whether the user has set the end point manually. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | FixedTo | Indicates whether the user has set the end point manually. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | FromEndPoint | The point where the connector touches the FromShape. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | FromLinkConnectsToNode | Gets the ElementLink relationship that connects the link shape to the node at the From end of the connector. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | FromShape | Gets the NodeShape at the From end of the connector. (Inherited from BinaryLinkShapeBase.) | 
| .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) | GeometryCanManuallyRoute | Gets a value indicating whether the user is allowed to manually route this LinkShape. (Intended to be called only by the ShapeGeometry-derived classes.) (Inherited from BinaryLinkShapeBase.) | 
| .gif) | GeometryDecoratorFrom | Gets the LinkDecorator at the "from" end of the link. (Intended to be called only by the ShapeGeometry-derived classes.) (Inherited from BinaryLinkShapeBase.) | 
| .gif) | GeometryDecoratorFromSize | Gets the size for the decorator on the From end of the relationship. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | GeometryDecoratorTo | Gets the LinkDecorator at the "to" end of the link. (Intended to be called only by the ShapeGeometry-derived classes.) (Inherited from BinaryLinkShapeBase.) | 
| .gif) | GeometryDecoratorToSize | Gets the size for the decorator on the To end of the relationship. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | GeometryEdgePoints | Gets the edge points in world units (Intended to be called only by the ShapeGeometry-derived classes.) (Inherited from BinaryLinkShapeBase.) | 
| .gif) | GeometryEdgePointsNoJumps | Gets the edge points in world units with no jumps (Intended to be called only by the ShapeGeometry-derived classes.) (Inherited from BinaryLinkShapeBase.) | 
| .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) | GridSize | Gets or sets the size of the grid to which the link’s vertices snap. If 0.0, no grid is used. (Inherited from LinkShape.) | 
| .gif) | HasChildren | true if the shape has child shapes. (Inherited from ShapeElement.) | 
| .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 shape and verifies whether it has an outline. (Inherited from ShapeElement.) | 
| .gif) | HasShadow | If true, the link is painted with a shadow. (Inherited from LinkShape.) | 
| .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) | IsActive | Gets the IsActive flag and verifies to see whether the element is active. (Inherited from ModelElement.) | 
| .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) | IsDirected | (Inherited from BinaryLinkShapeBase.) | 
| .gif) | IsNestedChild | true if this shape element is in the NestedChildShapes of its ParentShape. (Inherited from ShapeElement.) | 
| .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) | 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) | ManuallyRouted | True if the user has made a manual change to the routing of this link shape. False if the user has used the Reroute command, or has left the automatic routing unchanged. (Inherited from LinkShape.) | 
| .gif) | MaximumSize | Gets the maximum size for the shape. (Inherited from ShapeElement.) | 
| .gif) | MinimumSize | Gets the minimum size for the shape. (Inherited from ShapeElement.) | 
| .gif) | ModelElement | Gets or sets the model element that is associated with the presentation element. (Inherited from PresentationElement.) | 
| .gif) | Name | Gets or sets the value of Name domain property. Description for Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShape.Name | 
| .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 the shape's bounding box and its nested node shapes. (Inherited from ShapeElement.) | 
| .gif) | Nodes | Gets a list of shapes that are connected to the link shape. (Inherited from LinkShape.) | 
| .gif) | NodeToNodeClearance | Gets or sets the margin between child node shapes. (Inherited from ShapeElement.) | 
| .gif) | OutlinePenId | Gets the ID of the pen that is used to draw the outline of the link shape. (Inherited from LinkShape.) | 
| .gif) | OutlinePenWidth | Gets the width of the outline for the shape. (Inherited from ShapeElement.) | 
| .gif) | PaintMoveableDecoratorSelectionLines | (Inherited from ShapeElement.) | 
| .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) | 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) | RouteJumpType | Gets or sets whether the link creates a jump where it crosses another link. (Inherited from LinkShape.) | 
| .gif) | RoutingStyle | Straight (from point to point) or rectilinear (made up of a series of horizontal and vertical segments). (Inherited from LinkShape.) | 
| .gif) | ShapeFields | Defines a per-class list of shape fields for this shape. (Overrides ShapeElement.ShapeFields.) | 
| .gif) | ShapeGeometry | Governs how the shape is painted. (Inherited from BinaryLinkShapeBase.) | 
| .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) | 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) | TargetRelationshipDomainClassId | Gets the ID of the target element that is assigned to the binary link shape. (Inherited from BinaryLinkShape.) | 
| .gif) | TargetToolboxItemFilterAttributes | Gets a collection of attributes that determine which items are enabled or disabled in the Toolbox. (Inherited from ShapeElement.) | 
| .gif) | ToEndPoint | The point where the connector terminates at the ToShape. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | ToLinkConnectsToNode | Gets the ElementLink relationship that connects the link shape to the node at the To end of the connector. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | ToShape | Gets the NodeShape on the To end of the link shape. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | UserFixed | Gets or sets a fixed line segment. (Inherited from LinkShape.) | 
| .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) | Associate | Assigns a model element to the presentation element. The same effect as setting ModelElement. (Inherited from PresentationElement.) | 
| .gif) | CalculateDerivedVisible | Calculate whether the link shape is visible. True if both end nodes are visible. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | CanMerge | Verifies whether a source element can be added to this element. (Inherited from ModelElement.) | 
| .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 | Selects which child list a new child shape should be added to – NestedChildShapes or RelativeChildShapes. (Inherited from ShapeElement.) | 
| .gif) | CoerceSelection | Allows a shape to determine which other shapes are selected. (Inherited from ShapeElement.) | 
| .gif) | Connect | Creates the ElementLink relationships needed to connect the specified NodeShape. If this BinaryLinkShape is already on a Diagram, then also connect up the GraphEdge as well. If not, then the GraphEdge is connected up when the BinaryLinkShape is added to a Diagram. (Inherited from BinaryLinkShapeBase.) | 
| .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) | CreateChildShape | Creates a shape and adds it as a child to this shape. (Inherited from ShapeElement.) | 
| .gif) | CreateClassStyleSet | Creates a class style set for the shape type. (Inherited from ShapeElement.) | 
| .gif) | CreateDecorators | Creates a collection of decorators for the shape type. (Inherited from ShapeElement.) | 
| .gif) | CreateInstanceStyleSet | Creates a style set for the shape. (Inherited from ShapeElement.) | 
| .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) | Disconnect | Removes the ElementLink relationships to the NodeShapes at both ends. (Inherited from BinaryLinkShapeBase.) | 
| .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) | Returns true if the specified point is within the shape. (Inherited from ShapeElement.) | 
| .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) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | ExcludeFromClipRegion | Excludes this shape and its endpoint shapes from the clipping region in the specified Graphics object. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | ExcludeGeometryFromClipRegion | Excludes the geometry of a shape and its child shapes from the clipping region. (Inherited from ShapeElement.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .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 | 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) | 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) | Focused | Verifies whether the shape has the focus. (Inherited from ShapeElement.) | 
| .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) | 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) | GetEdgePointsValue | Use EdgePoints or EdgePointsNoJumps. (Inherited from LinkShape.) | 
| .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) | GetPotentialMouseAction | Gets the mouse action to perform for a mouse down event over a specific point in the diagram. (Inherited from ShapeElement.) | 
| .gif) | GetRoleCollection<TCollection, TElement>(Guid) | Gets or creates the linked element collection (Inherited from ModelElement.) | 
| .gif) | GetShapeLuminosity | Calculates the luminosity of the shape. (Inherited from ShapeElement.) | 
| .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) | 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) | 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) | 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 | Initializes the list of fields that represent parts of the shape such as labels, icons, rows of text, and background images. Called once per class. (Inherited from ShapeElement.) | 
| .gif) | Invalidate() | Forces the shape and its immediate to be redrawn on the user’s screen. (Inherited from LinkShape.) | 
| .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) | 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) | IsRouted | True if the link shape has been routed and the EdgePoints are valid, false if the link will be routed later. (Inherited from LinkShape.) | 
| .gif) | IterateShapes | Iterates through a shape and its child shapes. (Inherited from ShapeElement.) | 
| .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) | NavigateAscend | Called in response to user’s keystroke navigation to set the focus to the nearest focusable ancestor. (Inherited from LinkShape.) | 
| .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 | Called in response to user’s keystroke navigation to set the focus on the first child of the parent of the current focus. (Inherited from LinkShape.) | 
| .gif) | NavigateToLast | Called in response to user’s keystroke navigation to set the focus to the last child of the parent of the current focus. (Inherited from LinkShape.) | 
| .gif) | NavigateToNext | Called in response to user’s keystroke navigation to set the focus to the next focusable item in the focus sequence. (Inherited from LinkShape.) | 
| .gif) | NavigateToPrevious | Called in response to user’s keystroke navigation to set the focus to the previous item in the focusing sequence. (Inherited from LinkShape.) | 
| .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) | OnBeginEdit | Called when the user starts to edit a text field. (Inherited from ShapeElement.) | 
| .gif) | OnBoundsFixup | Called when the bounds position and size of the parent and children are set or adjusted. Override to modify the size or internal layout. (Inherited from ShapeElement.) | 
| .gif) | OnChildConfigured | Called when the positions and sizes of child shapes are about to be determined. Override to set specialized rules. (Inherited from ShapeElement.) | 
| .gif) | OnChildConfiguring | Called after the size and position of a child shape has been determined. (Inherited from ShapeElement.) | 
| .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 after the shape is deleted from a diagram. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | OnDeleting | Called when this element is about to be deleted. (Inherited from ModelElement.) | 
| .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) | OnEndEdit | Called when the user ends editing a text field. (Inherited from ShapeElement.) | 
| .gif) | OnInitialize | Called to initialize the shape. Override this to attach event handlers and rules to this object. (Inherited from ShapeElement.) | 
| .gif) | OnKeyDown | Called when a key is pressed. (Inherited from ShapeElement.) | 
| .gif) | OnKeyPress | Called when a character is typed. (Inherited from ShapeElement.) | 
| .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 | Called to paint the basic parts of the shape. (Inherited from ShapeElement.) | 
| .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) | 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) | PermitChildVisibility | Verifies whether the child shape should appear in the diagram. (Inherited from ShapeElement.) | 
| .gif) | ProcessVisibilityChange | Updates the visibility of the child shape when a change to visibility is made. (Inherited from ShapeElement.) | 
| .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) | RecalculateRoute | (Inherited from BinaryLinkShapeBase.) | 
| .gif) | RemoveLayoutObject | Removes the shape, including any relative and nested child shapes, from the diagram grid. (Inherited from ShapeElement.) | 
| .gif) | Selected | Verifies whether the shape is selected in a specified view. (Inherited from ShapeElement.) | 
| .gif) | SetDecorators(LinkDecorator, LinkDecorator, Boolean) | Set the decorators for the connector. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | SetDecorators(LinkDecorator, SizeD, LinkDecorator, SizeD, Boolean) | Set the decorators for the connector. (Inherited from BinaryLinkShapeBase.) | 
| .gif) | SetEdgePointsValue | Use EdgePoints property. (Inherited from LinkShape.) | 
| .gif) | SetInitialGraphLayoutVisibility | Sets the visibility of the graph. (Inherited from ShapeElement.) | 
| .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 | Determines whether a shape should be created to represent a given domain class instance on the diagram. (Inherited from ShapeElement.) | 
| .gif) | ShouldReparentOnMove | Verifies whether a child shape should be added to a new parent when the child shape is moved. (Inherited from ShapeElement.) | 
| .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) | 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) | UpdateDerivedVisible | Updates the visible state of the derived shape. (Inherited from ShapeElement.) | 
| .gif) | UpdateEdgePoints | Updates the edge points for the link shape. (Inherited from LinkShape.) | 
| .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.) | 
| .gif) | UpdateGraphEdgePoints | Updates the edge points for the link shape and graphs them on the diagram. (Inherited from LinkShape.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | Click | Occurs when the user clicks the mouse over a shape. (Inherited from ShapeElement.) | 
| .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) | DomainClassId | GenericLinkShape domain class Id. | 
| .gif) .gif) | NameDomainPropertyId | Name domain property Id. | 
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
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.