ExpandCollapseDecorator 构造函数

定义

重载

ExpandCollapseDecorator(Store, ToggleButtonField, ShapeDecoratorPosition)

构造一个新的 ExpandCollapseDecorator。

ExpandCollapseDecorator(Store, ToggleButtonField, ShapeDecoratorPosition, PointD)

构造一个新的 ExpandCollapseDecorator。

ExpandCollapseDecorator(Store, ToggleButtonField, ShapeDecoratorPosition, Boolean)

构造一个新的 ExpandCollapseDecorator。

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

构造一个新的 ExpandCollapseDecorator。

ExpandCollapseDecorator(Store, ToggleButtonField, ShapeDecoratorPosition)

构造一个新的 ExpandCollapseDecorator。

public:
 ExpandCollapseDecorator(Microsoft::VisualStudio::Modeling::Store ^ store, Microsoft::VisualStudio::Modeling::Diagrams::ToggleButtonField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition position);
public ExpandCollapseDecorator (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition position);
new Microsoft.VisualStudio.Modeling.Diagrams.ExpandCollapseDecorator : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition -> Microsoft.VisualStudio.Modeling.Diagrams.ExpandCollapseDecorator
Public Sub New (store As Store, field As ToggleButtonField, position As ShapeDecoratorPosition)

参数

store
Store

包含将承载此修饰器的形状的存储区。

field
ToggleButtonField

修饰器使用的 ShapeField。

position
ShapeDecoratorPosition

修饰器位置。

适用于

ExpandCollapseDecorator(Store, ToggleButtonField, ShapeDecoratorPosition, PointD)

构造一个新的 ExpandCollapseDecorator。

public:
 ExpandCollapseDecorator(Microsoft::VisualStudio::Modeling::Store ^ store, Microsoft::VisualStudio::Modeling::Diagrams::ToggleButtonField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition position, Microsoft::VisualStudio::Modeling::Diagrams::PointD offset);
public ExpandCollapseDecorator (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition position, Microsoft.VisualStudio.Modeling.Diagrams.PointD offset);
new Microsoft.VisualStudio.Modeling.Diagrams.ExpandCollapseDecorator : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> Microsoft.VisualStudio.Modeling.Diagrams.ExpandCollapseDecorator
Public Sub New (store As Store, field As ToggleButtonField, position As ShapeDecoratorPosition, offset As PointD)

参数

store
Store

包含将承载此修饰器的形状的存储区。

field
ToggleButtonField

修饰器使用的 ShapeField。

position
ShapeDecoratorPosition

修饰器位置。

offset
PointD

偏移量,用于修改按位置指定的修饰器的默认位置。

适用于

ExpandCollapseDecorator(Store, ToggleButtonField, ShapeDecoratorPosition, Boolean)

构造一个新的 ExpandCollapseDecorator。

public:
 ExpandCollapseDecorator(Microsoft::VisualStudio::Modeling::Store ^ store, Microsoft::VisualStudio::Modeling::Diagrams::ToggleButtonField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition position, bool canMove);
public ExpandCollapseDecorator (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition position, bool canMove);
new Microsoft.VisualStudio.Modeling.Diagrams.ExpandCollapseDecorator : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition * bool -> Microsoft.VisualStudio.Modeling.Diagrams.ExpandCollapseDecorator
Public Sub New (store As Store, field As ToggleButtonField, position As ShapeDecoratorPosition, canMove As Boolean)

参数

store
Store

包含将承载此修饰器的形状的存储区。

field
ToggleButtonField

修饰器使用的 ShapeField。

position
ShapeDecoratorPosition

修饰器位置。

canMove
Boolean

是否可以移动此修饰器。

适用于

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

构造一个新的 ExpandCollapseDecorator。

public:
 ExpandCollapseDecorator(Microsoft::VisualStudio::Modeling::Store ^ store, Microsoft::VisualStudio::Modeling::Diagrams::ToggleButtonField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition position, Microsoft::VisualStudio::Modeling::Diagrams::PointD offset, bool canMove);
public ExpandCollapseDecorator (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition position, Microsoft.VisualStudio.Modeling.Diagrams.PointD offset, bool canMove);
new Microsoft.VisualStudio.Modeling.Diagrams.ExpandCollapseDecorator : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition * Microsoft.VisualStudio.Modeling.Diagrams.PointD * bool -> Microsoft.VisualStudio.Modeling.Diagrams.ExpandCollapseDecorator
Public Sub New (store As Store, field As ToggleButtonField, position As ShapeDecoratorPosition, offset As PointD, canMove As Boolean)

参数

store
Store

包含将承载此修饰器的形状的存储区。

field
ToggleButtonField

修饰器使用的 ShapeField。

position
ShapeDecoratorPosition

修饰器位置。

offset
PointD

偏移量,用于修改按位置指定的修饰器的默认位置。

canMove
Boolean

是否可以移动此修饰器。

适用于