共用方式為


CompartmentShape.CanExpandAndCollapse 屬性

如果為 true,使用者可以摺疊和展開圖形,隱藏和顯示區間。 預設值為 true。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

語法

'宣告
Public Overrides ReadOnly Property CanExpandAndCollapse As Boolean
public override bool CanExpandAndCollapse { get; }

屬性值

類型:System.Boolean

.NET Framework 安全性

請參閱

參考

CompartmentShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間