Freigeben über


KeepGroupWithinParentRule Class

Definition

A GroupBoundsRule which 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.

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

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 current parent shape. The right and bottom side of the parent shape will not constrain the child shapes.

Applies to