Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExpandCollapseDecorator Constructor (Store, ToggleButtonField, ShapeDecoratorPosition, Boolean)

ExpandCollapseDecorator Constructor (Store, ToggleButtonField, ShapeDecoratorPosition, Boolean)

Construct a new ExpandCollapseDecorator.

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

public ExpandCollapseDecorator(
	Store store,
	ToggleButtonField field,
	ShapeDecoratorPosition position,
	bool canMove
)

Parameters

store
Type: Microsoft.VisualStudio.Modeling.Store

Store containing shapes that will host this decorator.

field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField

ShapeField used by the decorator.

position
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition

Decorator position.

canMove
Type: System.Boolean

Whether this decorator can be moved.

Show:
© 2015 Microsoft