Diagram Properties
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | AbsoluteBoundingBox | The bounding rectangle of the shape, measured relative to the Diagram.(Inherited from NodeShape.) |
![]() | AbsoluteBoundingBoxToEnsureVisible | Gets the absolute bounding rectangle for DiagramClientView::EnsureVisible.(Inherited from ShapeElement.) |
![]() | 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.) |
![]() | AbsoluteCenter | Gets the point in the center of the shape.(Inherited from ShapeElement.) |
![]() | AccessibilityObject | Gets the accessibility object for the shape.(Inherited from ShapeElement.) |
![]() | AccessibleDefaultActionDescription | Gets the default action description for the shape.(Inherited from ShapeElement.) |
![]() | AccessibleDescription | Gets the description for the diagram.(Overrides ShapeElement::AccessibleDescription.) |
![]() | AccessibleHelp | Gets the Help for the shape.(Inherited from ShapeElement.) |
![]() | AccessibleHelpTopicFileName | Gets the Help topic for the shape.(Inherited from ShapeElement.) |
![]() | AccessibleHelpTopicId | Gets the ID of the Help topic for the shape.(Inherited from ShapeElement.) |
![]() | AccessibleName | Gets the name of the diagram.(Overrides ShapeElement::AccessibleName.) |
![]() | AccessibleRole | Gets the role of the shape.(Inherited from ShapeElement.) |
![]() | AccessibleState | Gets the state of the shape.(Inherited from NodeShape.) |
![]() | AccessibleValue | Gets the value of the shape.(Inherited from ShapeElement.) |
![]() | ActiveDiagramView | Gets the active view for the diagram. |
![]() | AllowsChildrenInSelection | If true, the children of this shape can be included in the current selection group.(Inherited from ShapeElement.) |
![]() | AllowsChildrenToResizeParent | Gets the diagram and verifies whether it should be resized so that all elements in the diagram appear.(Overrides ShapeElement::AllowsChildrenToResizeParent.) |
![]() | AllowsChildrenToShrinkParent | If true, this shape will reduce in size to fit around its children when they are re-sized or moved.(Inherited from ShapeElement.) |
![]() | 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.) |
![]() | AnchorPointAction | Gets the mouse action that is responsible for moving the endpoints of a link. |
![]() | 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.) |
![]() | BackgroundBrushId | Gets the ID of the brush that draws the background for the diagram.(Overrides ShapeElement::BackgroundBrushId.) |
![]() | BackgroundGradientMode | Gets the gradient for the background of the shape.(Inherited from NodeShape.) |
![]() | BaseFontFromEnvironment | Gets the font to use as the base font. |
![]() | BaseFontName | Gets or sets the name of the base font. |
![]() | BaseFontSize | Gets or sets the size of the base font. |
![]() | BoundingBox | Gets the bounding rectangle of the shape, measured relative to the ParentShape.(Inherited from NodeShape.) |
![]() | 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.) |
![]() | 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.) |
![]() | CanDeserializationReroute | Gets the diagram and verifies whether it allows rerouting during serialization. |
![]() | CanExpandAndCollapse | Gets the shape and verifies whether a user can expand and collapse it.(Inherited from NodeShape.) |
![]() | CanFocus | Gets the shape and verifies whether it can receive the focus.(Inherited from ShapeElement.) |
![]() | CanMove | Gets the diagram and verifies whether it can be moved.(Overrides ShapeElement::CanMove.) |
![]() | CanResize | Gets the shape and verifies whether a user can resize it.(Inherited from NodeShape.) |
![]() | CanSelect | Gets the shape and verifies whether a user can select it.(Inherited from ShapeElement.) |
![]() | Center | Gets the point in the center of the shape.(Inherited from ShapeElement.) |
![]() | ClassStyleSet | Gets the style set for the shape.(Inherited from ShapeElement.) |
![]() | ClientViews | Gets the list of client views that are assigned to the diagram. |
![]() | 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.) |
![]() | ConnectActionFilterString | Gets the connect action for the diagram. |
![]() | 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.) |
![]() ![]() | CopyOrigin | Gets the text that represents the original diagram that was copied. |
![]() | CreatableSwimLaneSubjects | Gets the list of domain classes that are linked to swimlane shapes. |
![]() | Decorators | Gets the collection of decorators for the shape.(Inherited from ShapeElement.) |
![]() | DefaultContainerMargin | Gets the margin between the diagram and its element shapes.(Overrides NodeShape::DefaultContainerMargin.) |
![]() | 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. |
![]() | DefaultShapeField | Gets the default shape, which is the first shape that can receive focus.(Inherited from ShapeElement.) |
![]() | DefaultSize | Gets the size of the diagram.(Overrides ShapeElement::DefaultSize.) |
![]() | Diagram | Gets the diagram to which the shape belongs.(Inherited from ShapeElement.) |
![]() | DiagramId | Gets or sets the ID that is assigned to the diagram. |
![]() | DragDropPendingAction | Gets the mouse action that is responsible for initiating the drag-and-drop action. |
![]() | ElementOperations | Gets the object that performs selection operations. |
![]() | EnsureVisiblePreference | Preference for the EnsureVisible method for this Diagram. By default, all ShapeElements nested in this Diagram will use this preference. ShapeElements can override this preference and choose their own.(Overrides ShapeElement::EnsureVisiblePreference.) |
![]() | Events | Gets the list of event handlers for the shape.(Inherited from ShapeElement.) |
![]() | FixedFlags | Gets the flags that determine whether a shape is fixed to its position on the diagram.(Inherited from NodeShape.) |
![]() | FocusedDiagramView | Gets the diagram view that has the focus. |
![]() | FromRoleLinkShapes | Gets the collection of link shapes for which this shape is the source.(Inherited from NodeShape.) |
![]() | GeometryBackgroundBrushId | Gets the ID of the brush that is used to paint the background of the geometry.(Inherited from ShapeElement.) |
![]() | GeometryBoundingBox | Gets the bounding box of the shape.(Inherited from ShapeElement.) |
![]() | GeometryCanResizeBottom | Gets the shape and verifies whether the user can resize it vertically, starting at the bottom.(Inherited from NodeShape.) |
![]() | GeometryCanResizeLeft | Gets the shape and verifies whether the user can resize it horizontally, starting on the left.(Inherited from NodeShape.) |
![]() | GeometryCanResizeRight | Gets the shape and verifies whether the user can resize it horizontally, starting on the right.(Inherited from NodeShape.) |
![]() | GeometryCanResizeTop | Gets the shape and verifies whether the user can resize it vertically, starting at the top.(Inherited from NodeShape.) |
![]() | GeometryHasFilledBackground | Gets the shape and verifies whether its background is painted.(Inherited from ShapeElement.) |
![]() | GeometryHasOutline | Gets the shape and verifies whether it has an outline.(Inherited from ShapeElement.) |
![]() | GeometryHasShadow | true if the shape has a shadow; otherwise, false.(Inherited from ShapeElement.) |
![]() | GeometryOutlinePenId | Gets the ID of the pen that draws the outline for the shape.(Inherited from ShapeElement.) |
![]() | GeometryStyleSet | Gets the style set for the shape.(Inherited from ShapeElement.) |
![]() | GestureExtensionController | Property holds the GestureExtenstionController. This object is invoked on the various Diagram events that can be handled by GestureExtensions. This object passes on control to various GestureExtensions to hande the events. The first time this property is called, a GestureExtensionController is created and added to the Store's CompositionContainer If the CompositionContainer is null, or if the created GestureExtensionController is null, this property will return null. |
![]() | GridColor | Gets or sets the color of the grid. |
![]() | GridSize | Gets or sets the default grid size for the shapes on the diagram.(Overrides ShapeElement::GridSize.) |
![]() | GroupBoundsRules | Gets or sets the bounds rules for a specific group of shapes on the diagram. |
![]() | HasAnchoring | True if there are any settings in the Anchoring.(Inherited from NodeShape.) |
![]() | HasAssociatedViews | Gets the diagram and verifies whether it is associated with a diagram view. |
![]() | HasBackgroundGradient | Gets the shape and verifies whether it has a gradient for its background.(Inherited from NodeShape.) |
![]() | HasChildren | true if the shape has child shapes.(Inherited from ShapeElement.) |
![]() | HasConnectionPoints | True if the ConnectionPoints list is not empty.(Inherited from NodeShape.) |
![]() | HasCustomToolTip | Gets the shape and verifies whether it has a custom tooltip.(Inherited from ShapeElement.) |
![]() | HasDragOverToolTip | Gets the shape and verifies whether it has a tooltip.(Inherited from ShapeElement.) |
![]() | HasFilledBackground | Gets the shape and verifies whether it has a background.(Inherited from ShapeElement.) |
![]() | HasHighlighting | Gets the shape and verifies whether it is highlighted.(Inherited from ShapeElement.) |
![]() | HasOutline | Gets the diagram and verifies whether it has an outline.(Overrides ShapeElement::HasOutline.) |
![]() | HasShadow | Gets the diagram and verifies whether it has a shadow.(Overrides ShapeElement::HasShadow.) |
![]() | HasSwimlanes | Gets the diagram and verifies whether it has swimlanes. |
![]() | HasToolTip | Gets the shape and verifies whether it has a tooltip.(Inherited from ShapeElement.) |
![]() | Id | Gets the ID of the element.(Inherited from ModelElement.) |
![]() | InvokeEditorAction | Gets the mouse action that invokes a field editor when the user presses the mouse button. |
![]() | IsActive | Gets the IsActive flag and verifies to see whether the element is active.(Inherited from ModelElement.) |
![]() | IsCompleteView | This property is now obsolete. |
![]() | IsDeleted | Gets the IsDeleted flag and checks to see whether the element has been deleted from the model.(Inherited from ModelElement.) |
![]() | IsDeleting | Gets the IsDeleting flag and verifies whether the element is currently being deleted from the model.(Inherited from ModelElement.) |
![]() | IsExpanded | Gets the shape and verifies or sets whether it is expanded.(Inherited from NodeShape.) |
![]() | IsNestedChild | true if this shape element is in the NestedChildShapes of its ParentShape.(Inherited from ShapeElement.) |
![]() | IsPlaceRouteNode | True if the shape’s position can be adjusted(Inherited from NodeShape.) |
![]() | IsPort | true if the shape is a port shape; otherwise, false.(Inherited from NodeShape.) |
![]() | IsRelativeChild | true if this shape element is in the RelativeChildShapes of its ParentShape.(Inherited from ShapeElement.) |
![]() | 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.) |
![]() | IsWatermarkNeeded | Gets the diagram and verifies whether a watermark should appear for it. |
![]() | LassoAction | Gets the mouse action that initiates the lasso selection. |
![]() | 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.) |
![]() | 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.) |
![]() | LineAffinityDefault | Gets or sets the target location where the link shape should try to position the shape.(Inherited from ShapeElement.) |
![]() | LineToLineClearance | Gets or sets the distance between child link shapes for this shape.(Inherited from ShapeElement.) |
![]() | LineToNodeClearance | Gets or sets the distance between child link shapes and child node shapes.(Inherited from ShapeElement.) |
![]() | Link | Gets a list of link shapes.(Inherited from NodeShape.) |
![]() | Location | Gets or sets the coordinates of the top-left corner of the shape's bounds relative to its ParentShape.(Inherited from NodeShape.) |
![]() | ManualRouteAction | Gets the mouse action that initiates manual line routing. |
![]() | MaximumSize | Gets the maximum size for the shape.(Inherited from ShapeElement.) |
![]() | MinimumResizableSize | Gets the minimum size to which the shape can be resized.(Inherited from NodeShape.) |
![]() | MinimumSize | Gets the minimum height and width of the diagram.(Overrides NodeShape::MinimumSize.) |
![]() | ModelElement | Gets or sets the model element that is associated with the presentation element.(Inherited from PresentationElement.) |
![]() | Name | Gets or sets the name of the diagram. |
![]() | NavigationRoot | Gets the root shape for the diagram. |
![]() | NeedsRenumber | Set this true if you change the order of child shapes anywhere on the diagram. The ZOrder of each shape will be reset. |
![]() | 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.) |
![]() | NestedShapesMargin | Gets the margin between nested shapes in the diagram.(Overrides ShapeElement::NestedShapesMargin.) |
![]() | NodeToNodeClearance | Gets or sets the margin between child node shapes.(Inherited from ShapeElement.) |
![]() | OutlinePenId | Gets the ID of the pen that draws the outline for the diagram.(Overrides ShapeElement::OutlinePenId.) |
![]() | OutlinePenWidth | Gets the width of the outline for the shape.(Inherited from ShapeElement.) |
![]() | PaintMoveableDecoratorSelectionLines | (Inherited from ShapeElement.) |
![]() | PanZoomAction | Gets the mouse action that initiates zooming. |
![]() | ParentLink | Gets the relationship instance from the shape to the parent shape.(Inherited from ShapeElement.) |
![]() | ParentShape | Gets the parent shape element. To appear on a diagram, a shape or connector must have a parent.(Inherited from ShapeElement.) |
![]() | Partition | Gets or sets the Partition that contains the element.(Inherited from ModelElement.) |
![]() | Perimeter | Gets the perimeter (path) around the shape.(Inherited from ShapeElement.) |
![]() | PortFixedFlags | Gets the flags that determine whether a port shape is fixed to its position.(Inherited from NodeShape.) |
![]() | RelatedShapeToEmphasize | Gets the related shape to visually emphasize to the user when this shape is selected.(Inherited from ShapeElement.) |
![]() | RelativeChildShapes | The list of shapes that are part of this shape, but can appear outside the boundaries of this shape.(Inherited from ShapeElement.) |
![]() | RequiresWatermark | Gets the diagram and verifies whether a watermark should appear for it. |
![]() | ResizableSides | Gets the sides of the shape that the user can resize.(Inherited from NodeShape.) |
![]() | ResizeAction | Gets the mouse action that initiates the resizing of a shape. |
![]() | RouteJumpType | Gets or sets the jump style to use when a link shape crosses over another link shape on the diagram. |
![]() | RoutingStyle | Gets or sets the way link shapes are styled on the diagram. |
![]() | SelectAction | Gets the mouse action that initiates the selection of a shape. |
![]() | 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. |
![]() | ShapeFields | Parts of a shape such as text rows and decorators.(Inherited from ShapeElement.) |
![]() | ShapeGeometry | Gets the geometry of the diagram.(Overrides ShapeElement::ShapeGeometry.) |
![]() | ShouldAutoPlaceChildShapes | Gets a shape and verifies whether its nested child shapes should be automatically positioned on the diagram.(Inherited from NodeShape.) |
![]() | 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.) |
![]() | ShowGrid | Gets the diagram and verifies whether the grid should appear for it or sets the visibility state of the diagram. |
![]() | Size | Gets or sets the size of the shape.(Inherited from NodeShape.) |
![]() | 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. |
![]() | Store | Gets the Store that contains the element.(Inherited from ModelElement.) |
![]() | StyleSet | Gets an instance of the style set for the shape.(Inherited from ShapeElement.) |
![]() | Subject | Gets or sets the subject for the presentation element. Defaults to the same object as ModelElement.(Inherited from PresentationElement.) |
![]() | SupportsPorts | Gets the diagram and verifies whether it contains ports. |
![]() | TargetToolboxItemFilterAttributes | Gets the collection of filter attributes for the toolbox that is assigned to the diagram.(Overrides ShapeElement::TargetToolboxItemFilterAttributes.) |
![]() | ToolboxAction | Gets the mouse action that invokes a response when the user clicks the Toolbox. |
![]() | ToRoleLinkShapes | Gets the collection of link shapes for which this shape is the target.(Inherited from NodeShape.) |
![]() | WatermarkText | Gets the watermark text that is assigned to the diagram. |
![]() | 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.) |


