ShapeElement Properties
Include Protected Members
Include Inherited Members
The ShapeElement type exposes the following members.
Properties
Name
Description
The bounding rectangle, measured relative to the Diagram.
AbsoluteBoundingBoxToEnsureVisible
Gets the absolute bounding rectangle for DiagramClientView.EnsureVisible.
Gets the point in the center of the shape.
Gets the accessibility object for the shape.
AccessibleDefaultActionDescription
Gets the default action description for the shape.
Gets the description for the shape.
Gets the Help for the shape.
Gets the Help topic for the shape.
Gets the ID of the Help topic for the shape.
Gets the name of the shape.
Gets the role of the shape.
Gets the state of the shape.
Gets the value of the shape.
If true, the children of this shape can be included in the current selection group.
true if this shape can be resized when the size or position of a child shape is changed.
If true, this shape will reduce in size to fit around its children when they are re-sized or moved.
Gets the ID for the brush that is used to paint the background of the shape.
The bounding rectangle, measured relative to the ParentShape.
Gets the shape and verifies whether it can receive the focus.
Gets the shape and verifies whether a user can move it.
Gets the shape and verifies whether a user can select it.
Gets the point in the center of the shape.
Gets the style set for the shape.
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.
Gets the collection of decorators for the shape.
Gets the default shape, which is the first shape that can receive focus.
Gets the default size of the shape.
Gets the diagram to which the shape belongs.
Gets the list of event handlers for the shape.
Gets the ID of the brush that is used to paint the background of the geometry.
Gets the bounding box of the shape.
Gets the shape and verifies whether its background is painted.
Gets the shape and verifies whether it has an outline.
true if the shape has a shadow; otherwise, false.
Gets the ID of the pen that draws the outline for the shape.
Gets the style set for the shape.
If non-zero, this shape and its children will snap to a grid of this size. Defaults to ParentShape.GridSize.
true if the shape has child shapes.
Gets the shape and verifies whether it has a custom tooltip.
Gets the shape and verifies whether it has a tooltip.
Gets the shape and verifies whether it has a background.
Gets the shape and verifies whether it is highlighted.
Gets the shape and verifies whether it has an outline.
Gets the shape and verifies whether it has a shadow.
Gets the shape and verifies whether it has a tooltip.
Gets the ID of the element. (Inherited from ModelElement.)
Gets the IsActive flag and verifies to see whether the element is active. (Inherited from ModelElement.)
Gets the IsDeleted flag and checks to see whether the element has been deleted from the model. (Inherited from ModelElement.)
Gets the IsDeleting flag and verifies whether the element is currently being deleted from the model. (Inherited from ModelElement.)
true if this shape element is in the NestedChildShapes of its ParentShape.
true if this shape element is in the RelativeChildShapes of its ParentShape.
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().
Gets the shape and verifies whether child link shapes should try to align when they are connected to same shape or sets this value.
Gets or sets the target location where the link shape should try to position the shape.
Gets or sets the distance between child link shapes for this shape.
Gets or sets the distance between child link shapes and child node shapes.
Gets the maximum offset for the shadow of the shape.
Gets the maximum size for the shape.
Gets the minimum size for the shape.
Gets or sets the model element that is associated with the presentation element. (Inherited from PresentationElement.)
The list of shapes that are part of this shape, and are constrained to appear within the boundaries of this shape or diagram.
Gets the margin between the shape's bounding box and its nested node shapes.
Gets or sets the margin between child node shapes.
Gets the ID of the pen that is used to draw the outline of the shape.
Gets the width of the outline for the shape.
Gets the relationship instance from the shape to the parent shape.
Gets the parent shape element. To appear on a diagram, a shape or connector must have a parent.
Gets or sets the Partition that contains the element. (Inherited from ModelElement.)
Gets the perimeter (path) around the shape.
Gets the related shape to visually emphasize to the user when this shape is selected.
The list of shapes that are part of this shape, but can appear outside the boundaries of this shape.
Parts of a shape such as text rows and decorators.
Gets the geometry for the shape, such as Rectangle, RoundedRectangle, or Ellipse, which defines operations associated with the outline of the shape.
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.
Gets the Store that contains the element. (Inherited from ModelElement.)
Gets an instance of the style set for the shape.
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.
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.
Top