CommentShape 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 of the shape used by accessibility client applications.(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 shape used by accessibility client applications.(Overrides LabelShape::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.) |
![]() | AllowsChildrenInSelection | If true, the children of this shape can be included in the current selection group.(Inherited from ShapeElement.) |
![]() | AllowsChildrenToResizeParent | true if this shape can be resized when the size or position of a child shape is changed.(Inherited from ShapeElement.) |
![]() | 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.) |
![]() | 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 for the brush that is used to paint the background of the shape.(Inherited from ShapeElement.) |
![]() | BackgroundGradientMode | Gets the gradient for the background of the shape.(Inherited from NodeShape.) |
![]() | 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.) |
![]() | CanExpandAndCollapse | Gets the shape and verifies whether a user can expand and collapse it.(Inherited from NodeShape.) |
![]() | CanFocus | Gets the child label shape and verifies whether it can receive the focus.(Inherited from LabelShape.) |
![]() | CanMove | Gets the shape and verifies whether a user can move it.(Inherited from ShapeElement.) |
![]() | 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 class style set for the label shape.(Inherited from LabelShape.) |
![]() | ClipWhenDrawingFields | Gets the parent label shape and verifies whether the clipping region should be set to the bounding box for the parent label shape when its child shape fields are being drawn.(Inherited from LabelShape.) |
![]() | 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.) |
![]() | Decorators | Gets the collection of decorators for the shape.(Inherited from ShapeElement.) |
![]() | DefaultContainerMargin | Gets the margin between the parent shape and its nested child shapes.(Inherited from NodeShape.) |
![]() | DefaultHeight | Gets/Sets default comment shape height. |
![]() | DefaultShapeField | Gets the default shape, which is the first shape that can receive focus.(Inherited from ShapeElement.) |
![]() | DefaultSize | Gets the default size of the shape.(Inherited from ShapeElement.) |
![]() | DefaultWidth | Gets/Sets default comment shape width. |
![]() | Diagram | Gets the diagram to which the shape belongs.(Inherited from ShapeElement.) |
![]() | DisplayText | Gets the text to display in the label shape.(Inherited from LabelShape.) |
![]() | 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.) |
![]() | Events | Gets the list of event handlers for the shape.(Inherited from ShapeElement.) |
![]() | FixedFlags | Gets the FixedFlags properties for a GraphNode.(Overrides LabelShape::FixedFlags.) |
![]() | 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.) |
![]() | GridSize | The comment shape by default is not confined to any grid.(Overrides ShapeElement::GridSize.) |
![]() | HasAnchoring | True if there are any settings in the Anchoring.(Inherited from NodeShape.) |
![]() | 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 shape and verifies whether it has an outline.(Inherited from ShapeElement.) |
![]() | HasShadow | Shadow property(Overrides ShapeElement::HasShadow.) |
![]() | HasToolTip | Gets the shape and verifies whether it has a tooltip.(Inherited from ShapeElement.) |
![]() | Id | Gets the ID of the element.(Inherited from ModelElement.) |
![]() | IsActive | Gets the IsActive flag and verifies to see whether the element is active.(Inherited from ModelElement.) |
![]() | 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.) |
![]() | Label | Gets or sets the text property for the label shape.(Inherited from LabelShape.) |
![]() | 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.) |
![]() | 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 | (Overrides NodeShape::MinimumSize.) |
![]() | ModelElement | Gets or sets the model element that is associated with the presentation element.(Inherited from PresentationElement.) |
![]() | MultipleLine | Gets the label shape and verifies whether it can display text on multiple lines.(Inherited from LabelShape.) |
![]() | 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 the shape's bounding box and its nested node shapes.(Inherited from ShapeElement.) |
![]() | NodeToNodeClearance | Gets or sets the margin between child node shapes.(Inherited from ShapeElement.) |
![]() | OutlinePenId | Gets the ID of the pen that is used to draw the outline of the shape.(Inherited from ShapeElement.) |
![]() | OutlinePenWidth | Gets the width of the outline for the shape.(Inherited from ShapeElement.) |
![]() | PaintMoveableDecoratorSelectionLines | (Inherited from ShapeElement.) |
![]() | 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 | Returns null so that the parent shape doesn't get visually emphasized when this shape is selected.(Overrides LabelShape::RelatedShapeToEmphasize.) |
![]() | RelativeChildShapes | The list of shapes that are part of this shape, but can appear outside the boundaries of this shape.(Inherited from ShapeElement.) |
![]() | ResizableSides | Gets the sides of this shape which can be resized by the user.(Overrides NodeShape::ResizableSides.) |
![]() | Rounded | Gets whether to use rounded geometry. Just change this return to get rounded or rectangular behavior. |
![]() | ShapeFields | Gets the list of shape fields that are assigned to the label shape.(Inherited from LabelShape.) |
![]() | ShapeGeometry | Gets the ShapeGeometry object associated with this ShapeElement.(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.) |
![]() | Size | Gets or sets the size of the shape.(Inherited from NodeShape.) |
![]() | 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.) |
![]() | TargetToolboxItemFilterAttributes | Gets a collection of attributes that determine which items are enabled or disabled in the Toolbox.(Inherited from ShapeElement.) |
![]() | Text | Gets or sets the text for the label shape.(Inherited from LabelShape.) |
![]() ![]() | ToolboxCaption | Gets the Toolbox caption for this shape. |
![]() | ToRoleLinkShapes | Gets the collection of link shapes for which this shape is the target.(Inherited from NodeShape.) |
![]() | ZOrder | Gets the relative Z-Order for this ShapeElement. Makes sure that the comment stays above all other diagram elements(Overrides ShapeElement::ZOrder.) |


