Share via


ExpandCollapseDecorator Constructor (Store, ToggleButtonField, ShapeDecoratorPosition, Boolean)

Construct a new ExpandCollapseDecorator.

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 Sub New ( _
    store As Store, _
    field As ToggleButtonField, _
    position As ShapeDecoratorPosition, _
    canMove As Boolean _
)
public ExpandCollapseDecorator(
    Store store,
    ToggleButtonField field,
    ShapeDecoratorPosition position,
    bool canMove
)
public:
ExpandCollapseDecorator(
    Store^ store, 
    ToggleButtonField^ field, 
    ShapeDecoratorPosition position, 
    bool canMove
)
new : 
        store:Store * 
        field:ToggleButtonField * 
        position:ShapeDecoratorPosition * 
        canMove:bool -> ExpandCollapseDecorator
public function ExpandCollapseDecorator(
    store : Store, 
    field : ToggleButtonField, 
    position : ShapeDecoratorPosition, 
    canMove : boolean
)

Parameters

  • canMove
    Type: Boolean

    Whether this decorator can be moved.

.NET Framework Security

See Also

Reference

ExpandCollapseDecorator Class

ExpandCollapseDecorator Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace