Construct a new ExpandCollapseDecorator。
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
语法
声明
Public Sub New ( _
store As Store, _
field As ToggleButtonField, _
position As ShapeDecoratorPosition, _
offset As PointD _
)
public ExpandCollapseDecorator(
Store store,
ToggleButtonField field,
ShapeDecoratorPosition position,
PointD offset
)
参数
- store
类型:Microsoft.VisualStudio.Modeling.Store
包含将承载此修饰器的形状的存储。
- field
类型:Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField
修饰器使用的 ShapeField。
- position
类型:Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition
修饰器位置。
- offset
类型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
用于修改由位置指定的修饰器的默认位置的偏移量。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。