KeepGroupWithinDiagramRule.GetCompliantGroupBounds 方法

更新 GhostShapeCollection,以便其在应用建议的位置增量后符合 GroupBoundsRules。 约束子形状组总体边界的 GroupBoundsRule,以便它保持并在父形状的下方及顶部和左边界的右侧。 父形状的右侧和底部边将不会约束子形状。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
Public Overrides Sub GetCompliantGroupBounds ( _
    store As Store, _
    targetShape As ShapeElement, _
    ghostShapes As GhostShapeCollection, _
    proposedLocationDelta As PointD _
)
public override void GetCompliantGroupBounds(
    Store store,
    ShapeElement targetShape,
    GhostShapeCollection ghostShapes,
    PointD proposedLocationDelta
)

参数

.NET Framework 安全性

请参阅

参考

KeepGroupWithinDiagramRule 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间