Compartir a través de


KeepGroupWithinDiagramRule Class

Definition

A GroupBoundsRule which will constrain the overall bounds of a group of child shapes so that it remains inside the target shape's diagram

public ref class KeepGroupWithinDiagramRule : Microsoft::VisualStudio::Modeling::Diagrams::GroupBoundsRules
public class KeepGroupWithinDiagramRule : Microsoft.VisualStudio.Modeling.Diagrams.GroupBoundsRules
type KeepGroupWithinDiagramRule = class
    inherit GroupBoundsRules
Public Class KeepGroupWithinDiagramRule
Inherits GroupBoundsRules
Inheritance
KeepGroupWithinDiagramRule

Properties

Instance

Gets the rule which constrains the bounds for a group of shapes such that the bounds fits within the boundaries of the parent shape.

Methods

GetCompliantGroupBounds(Store, ShapeElement, GhostShapeCollection, PointD)

Updates the GhostShapeCollection so that it complies with this GroupBoundsRules after the proposed location delta is applied.

This GroupBoundsRule will constrain the overall bounds of a group of child shapes so that it remains below and to the right of the top and left boundaries of the parent shape. The right and bottom side of the parent shape will not constrain the child shapes.

Applies to