Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the compartment shape and verifies whether a user can collapse and expand it.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property CanExpandAndCollapse As Boolean
'Usage
Dim instance As Compartment
Dim value As Boolean
value = instance.CanExpandAndCollapse
public override bool CanExpandAndCollapse { get; }
public:
virtual property bool CanExpandAndCollapse {
bool get () override;
}
public override function get CanExpandAndCollapse () : boolean
Property Value
Type: System.Boolean
true if a user can collapse and expand the compartment shape; otherwise, false.
Remarks
By default, the return value is true.
.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.