ExpandCollapseDecorator Constructor (Store, ToggleButtonField, ShapeDecoratorPosition)
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 _
)
public ExpandCollapseDecorator(
Store store,
ToggleButtonField field,
ShapeDecoratorPosition position
)
public:
ExpandCollapseDecorator(
Store^ store,
ToggleButtonField^ field,
ShapeDecoratorPosition position
)
new :
store:Store *
field:ToggleButtonField *
position:ShapeDecoratorPosition -> ExpandCollapseDecorator
public function ExpandCollapseDecorator(
store : Store,
field : ToggleButtonField,
position : ShapeDecoratorPosition
)
Parameters
store
Type: Microsoft.VisualStudio.Modeling.StoreStore containing shapes that will host this decorator.
field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonFieldShapeField used by the decorator.
position
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPositionDecorator position.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.