다음을 통해 공유


Compartment.CanExpandAndCollapse Property

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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

‘선언
Public Overrides ReadOnly Property CanExpandAndCollapse As Boolean
    Get
public override bool CanExpandAndCollapse { get; }
public:
virtual property bool CanExpandAndCollapse {
    bool get () override;
}
abstract CanExpandAndCollapse : bool
override CanExpandAndCollapse : bool
override function get CanExpandAndCollapse () : boolean

Property Value

Type: System.Boolean
true if a user can collapse and expand the compartment shape; otherwise, false.

Remarks

This property is used by accessibility to determine whether this shape has an expanded state to report.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace