GroupSnapToGridRule.GetCompliantGroupBounds 方法

更新 GhostShapeCollection,以便其在应用建议的位置增量后符合 GroupBoundsRules。

命名空间:  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 安全性

请参阅

参考

GroupSnapToGridRule 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间