次の方法で共有


GroupBoundsRules.GetCompliantGroupBounds Method

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣言
Public MustOverride Sub GetCompliantGroupBounds ( _
    store As Store, _
    targetShape As ShapeElement, _
    ghostShapes As GhostShapeCollection, _
    proposedLocationDelta As PointD _
)
public abstract void GetCompliantGroupBounds(
    Store store,
    ShapeElement targetShape,
    GhostShapeCollection ghostShapes,
    PointD proposedLocationDelta
)
public:
virtual void GetCompliantGroupBounds(
    Store^ store, 
    ShapeElement^ targetShape, 
    GhostShapeCollection^ ghostShapes, 
    PointD proposedLocationDelta
) abstract
abstract GetCompliantGroupBounds : 
        store:Store * 
        targetShape:ShapeElement * 
        ghostShapes:GhostShapeCollection * 
        proposedLocationDelta:PointD -> unit 
public abstract function GetCompliantGroupBounds(
    store : Store, 
    targetShape : ShapeElement, 
    ghostShapes : GhostShapeCollection, 
    proposedLocationDelta : PointD
)

Parameters

  • ghostShapes
    Type: Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
    A collection of ghost shapes which describe ShapeElements prior to the proposed location delta. This method should modify the ghost shape properties such that the properties are compliant with this rule after the proposed location delta is applied.

.NET Framework Security

See Also

Reference

GroupBoundsRules Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace