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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.DisplayName", _
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
'Usage
Dim instance As NodeShape
Dim value As Boolean
value = instance.IsExpanded
instance.IsExpanded = value
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.DisplayName",
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; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/IsExpanded.DisplayName",
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);
}
public function get IsExpanded () : boolean
public function set IsExpanded (value : boolean)
Property Value
Type: System.Boolean
true if the shape is expanded; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.