Share via


NodeShape.ExpandCollapseNodeShapeWhenAddedToDiagramRule Class

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

Syntax

'Declaration
<RuleOnAttribute(GetType(ParentShapeContainsNestedChildShapes))> _
<RuleOnAttribute(GetType(ParentShapeHasRelativeChildShapes))> _
Public Class ExpandCollapseNodeShapeWhenAddedToDiagramRule _
    Inherits AddRule
'Usage
Dim instance As NodeShape.ExpandCollapseNodeShapeWhenAddedToDiagramRule
[RuleOnAttribute(typeof(ParentShapeContainsNestedChildShapes))]
[RuleOnAttribute(typeof(ParentShapeHasRelativeChildShapes))]
public class ExpandCollapseNodeShapeWhenAddedToDiagramRule : AddRule
[RuleOnAttribute(typeof(ParentShapeContainsNestedChildShapes))]
[RuleOnAttribute(typeof(ParentShapeHasRelativeChildShapes))]
public ref class ExpandCollapseNodeShapeWhenAddedToDiagramRule : public AddRule
public class ExpandCollapseNodeShapeWhenAddedToDiagramRule extends AddRule

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Rule
    Microsoft.VisualStudio.Modeling.AddRule
      Microsoft.VisualStudio.Modeling.Diagrams.NodeShape.ExpandCollapseNodeShapeWhenAddedToDiagramRule

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

NodeShape.ExpandCollapseNodeShapeWhenAddedToDiagramRule Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace