Bagikan melalui


ParentShapeContainsNestedChildShapesAddRule.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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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

ParentShapeContainsNestedChildShapesAddRule Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace