共用方式為


ElementListCompartmentDescription 建構函式

如果建構函式會將所有的起始值。

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

語法

'宣告
Public Sub New ( _
    name As String, _
    title As String, _
    titleFill As Color, _
    allowCustomTitleFillColor As Boolean, _
    compartmentFill As Color, _
    allowCustomCompartmentFillColor As Boolean, _
    titleFontSettings As FontSettings, _
    itemFontSettings As FontSettings, _
    isDefaultCollapsed As Boolean _
)
public ElementListCompartmentDescription(
    string name,
    string title,
    Color titleFill,
    bool allowCustomTitleFillColor,
    Color compartmentFill,
    bool allowCustomCompartmentFillColor,
    FontSettings titleFontSettings,
    FontSettings itemFontSettings,
    bool isDefaultCollapsed
)

參數

  • allowCustomTitleFillColor
    型別:System.Boolean
    標題填滿色彩可透過變更屬性方格中,則為 false 否則,其值為 true。
  • allowCustomCompartmentFillColor
    型別:System.Boolean
    區間填滿色彩可透過變更屬性方格中,則為 false 否則,其值為 true。
  • isDefaultCollapsed
    型別:System.Boolean
    如果預設情況下會被摺疊區間

.NET Framework 安全性

請參閱

參考

ElementListCompartmentDescription 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間