ExpandCollapseDecorator Class
Decorator that manages an expand/collapse button on a NodeShape
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Microsoft.VisualStudio.Modeling.Diagrams::Decorator
Microsoft.VisualStudio.Modeling.Diagrams::ShapeDecorator
Microsoft.VisualStudio.Modeling.Diagrams::ExpandCollapseDecorator
| Name | Description | |
|---|---|---|
![]() | ExpandCollapseDecorator(Store^, ToggleButtonField^, ShapeDecoratorPosition) | Construct a new ExpandCollapseDecorator. |
![]() | ExpandCollapseDecorator(Store^, ToggleButtonField^, ShapeDecoratorPosition, Boolean) | Construct a new ExpandCollapseDecorator. |
![]() | ExpandCollapseDecorator(Store^, ToggleButtonField^, ShapeDecoratorPosition, PointD) | Construct a new ExpandCollapseDecorator. |
![]() | ExpandCollapseDecorator(Store^, ToggleButtonField^, ShapeDecoratorPosition, PointD, Boolean) | Construct a new ExpandCollapseDecorator. |
| Name | Description | |
|---|---|---|
![]() | CanMove | Whether this decorator can be moved. A decorator can be moved only if it is instantiated as moveable and also requires a host.(Inherited from Decorator.) |
![]() | Field | Gets the field to which the decorator is assigned.(Inherited from Decorator.) |
![]() | Offset | Gets or sets the offset that modifies the default position of the decorator.(Inherited from Decorator.) |
![]() | Position | Gets or sets the position of this decorator relative to the parent shape.(Inherited from ShapeDecorator.) |
![]() | RequiresHost | For shapes, outer shape decorators require an additional host shape; inner decorators are implemented as shape fields on the shape itself.(Inherited from ShapeDecorator.) |
| Name | Description | |
|---|---|---|
![]() | AssociateValueWith(Store^, AssociatedPropertyInfo^) | Associates the decorator with a store property that is assigned to the shape.(Inherited from Decorator.) |
![]() | AssociateValueWith(Store^, Guid) | Associates the decorator with a store property that is assigned to the shape.(Inherited from Decorator.) |
![]() | AssociateValueWith(Store^, Guid, AssociatedPropertyInfo^) | Associates the decorator with a store property that is assigned to the shape.(Inherited from Decorator.) |
![]() | AssociateVisibilityWith(Store^, AssociatedPropertyInfo^) | Associates the visibility of the decorator with a store property that is assigned to a shape.(Inherited from Decorator.) |
![]() | AssociateVisibilityWith(Store^, Guid) | Associates the visibility of the decorator with a store property that is assigned to a shape.(Inherited from Decorator.) |
![]() | AssociateVisibilityWith(Store^, Guid, AssociatedPropertyInfo^) | Associates the visibility of the decorator with a store property that is assigned to a shape.(Inherited from Decorator.) |
![]() | ConfigureHostShape(ShapeElement^) | Configures a host shape for use with this decorator. If the given parent does not have a host shape for this decorator, a new one will be created. If a host shape already exists, settings for this decorator will be re-applied to the existing host shape; a new host shape will not be created.(Inherited from ShapeDecorator.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetHostShape(ShapeElement^) | Gets the host shape.(Inherited from Decorator.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetValue(ShapeElement^) | Gets the association between the decorator and a shape.(Inherited from Decorator.) |
![]() | GetVisible(ShapeElement^) | Gets the visibility of the decorator that is assigned to a shape.(Inherited from Decorator.) |
![]() | RepositionHostShape(DecoratorHostShape^) | Updates the position of the given host shape based on current decorator settings.(Overrides ShapeDecorator::RepositionHostShape(DecoratorHostShape^).) |
![]() | SetValue(ShapeElement^, Object^) | Sets the association with the decoration and a shape.(Inherited from Decorator.) |
![]() | SetVisible(ShapeElement^, Object^) | Sets the visibility of a decorator that is assigned to a shape.(Inherited from Decorator.) |
![]() | ToString() | (Inherited from Object.) |
![]() | UpdateDecoratorHostShapes(ModelElement^) | Updates the bounds for the host shapes.(Inherited from Decorator.) |
![]() | UpdateDecoratorHostShapes(ModelElement^, Guid) | Updates the bounds for the host shapes.(Inherited from Decorator.) |
![]() | UpdateHostShapeVisibility(DecoratorHostShape^) | Updates the visibility of the host shape.(Inherited from Decorator.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

