共用方式為


ExpandCollapseDecorator Constructor (Store, ToggleButtonField, ShapeDecoratorPosition, PointD, Boolean)

Construct a new ExpandCollapseDecorator.

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

Syntax

'宣告
Public Sub New ( _
    store As Store, _
    field As ToggleButtonField, _
    position As ShapeDecoratorPosition, _
    offset As PointD, _
    canMove As Boolean _
)
public ExpandCollapseDecorator(
    Store store,
    ToggleButtonField field,
    ShapeDecoratorPosition position,
    PointD offset,
    bool canMove
)
public:
ExpandCollapseDecorator(
    Store^ store, 
    ToggleButtonField^ field, 
    ShapeDecoratorPosition position, 
    PointD offset, 
    bool canMove
)
new : 
        store:Store * 
        field:ToggleButtonField * 
        position:ShapeDecoratorPosition * 
        offset:PointD * 
        canMove:bool -> ExpandCollapseDecorator
public function ExpandCollapseDecorator(
    store : Store, 
    field : ToggleButtonField, 
    position : ShapeDecoratorPosition, 
    offset : PointD, 
    canMove : boolean
)

Parameters

.NET Framework Security

See Also

Reference

ExpandCollapseDecorator Class

ExpandCollapseDecorator Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace