KeepGroupWithinDiagramRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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. |