Partager via


ParentShapeHasRelativeChildShapesAddRule.ElementAdded Method

This rule adjusts the child node shape's absolute bounds now that it has been added to its parent shape. At the beginning of this method, the the child's absolute bounds is assumed to be the relative bounds.

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

Syntax

'Déclaration
Public Overrides Sub ElementAdded ( _
    e As ElementAddedEventArgs _
)
public override void ElementAdded(
    ElementAddedEventArgs e
)
public:
virtual void ElementAdded(
    ElementAddedEventArgs^ e
) override
abstract ElementAdded : 
        e:ElementAddedEventArgs -> unit 
override ElementAdded : 
        e:ElementAddedEventArgs -> unit 
public override function ElementAdded(
    e : ElementAddedEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

ParentShapeHasRelativeChildShapesAddRule Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace