NodeShape.IsExpanded 属性

获取形状并验证或将是否设置为展开。

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

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("cfe72897-8e0d-4b70-8f44-6d1e333cd856")> _
Public Property IsExpanded As Boolean
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("cfe72897-8e0d-4b70-8f44-6d1e333cd856")]
public bool IsExpanded { get; set; }

属性值

类型:System.Boolean
如果该形状是展开的,则为 true;否则为 false。

.NET Framework 安全性

请参阅

参考

NodeShape 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间