ListCompartmentDescription 构造函数

所有采用初始值的构造函数。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Protected 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 _
)
protected ListCompartmentDescription(
    string name,
    string title,
    Color titleFill,
    bool allowCustomTitleFillColor,
    Color compartmentFill,
    bool allowCustomCompartmentFillColor,
    FontSettings titleFontSettings,
    FontSettings itemFontSettings,
    bool isDefaultCollapsed
)

参数

  • allowCustomTitleFillColor
    类型:System.Boolean
    则为 true,则标题填充颜色可以通过属性网格中更改,否则错误。
  • allowCustomCompartmentFillColor
    类型:System.Boolean
    则为 true,则隔离舱填充颜色可以通过属性网格中更改,否则错误。
  • isDefaultCollapsed
    类型:System.Boolean
    隔离舱的默认状态是否已折叠

.NET Framework 安全性

请参见

参考

ListCompartmentDescription 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间