NodeShape.CanExpandAndCollapse 屬性

取得圖形,並確認使用者是否可以展開與摺疊該。

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

語法

'宣告
Public Overridable ReadOnly Property CanExpandAndCollapse As Boolean
public virtual bool CanExpandAndCollapse { get; }

屬性值

型別:System.Boolean
true 如果使用者可以展開和摺疊圖案。 否則, false。

備註

這個屬性供協助工具用來判斷此圖形是否已展開的狀態報表。

.NET Framework 安全性

請參閱

參考

NodeShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間