Shape.HasDefaultConnectionPoints 属性

获取或设置 HasDefaultConnectionPoints 字段的特性的值。 如果为 true,则形状在编辑器中生成的设计器将使用顶部,底部,左右连接点。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/HasDefaultConnectionPoints.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/HasDefaultConnectionPoints.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/HasDefaultConnectionPoints.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("cb2bbb80-6739-45fc-b87b-56a911e29e98")> _
Public Property HasDefaultConnectionPoints As Boolean
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/HasDefaultConnectionPoints.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/HasDefaultConnectionPoints.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/HasDefaultConnectionPoints.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("cb2bbb80-6739-45fc-b87b-56a911e29e98")]
public bool HasDefaultConnectionPoints { get; set; }

属性值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

Shape 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间