Partager via


NodeShape.IsExpanded Property

Gets the shape and verifies or sets whether it is expanded.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
<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; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DomainObjectIdAttribute(L"cfe72897-8e0d-4b70-8f44-6d1e333cd856")]
public:
property bool IsExpanded {
    bool get ();
    void set (bool value);
}
[<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")>]
member IsExpanded : bool with get, set
function get IsExpanded () : boolean 
function set IsExpanded (value : boolean)

Property Value

Type: System.Boolean
true if the shape is expanded; otherwise, false.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace