ListCompartmentDescription Constructor

Constructor that takes all of the initial values.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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
)
protected:
ListCompartmentDescription(
    String^ name, 
    String^ title, 
    Color titleFill, 
    bool allowCustomTitleFillColor, 
    Color compartmentFill, 
    bool allowCustomCompartmentFillColor, 
    FontSettings^ titleFontSettings, 
    FontSettings^ itemFontSettings, 
    bool isDefaultCollapsed
)
new : 
        name:string * 
        title:string * 
        titleFill:Color * 
        allowCustomTitleFillColor:bool * 
        compartmentFill:Color * 
        allowCustomCompartmentFillColor:bool * 
        titleFontSettings:FontSettings * 
        itemFontSettings:FontSettings * 
        isDefaultCollapsed:bool -> ListCompartmentDescription
protected function ListCompartmentDescription(
    name : String, 
    title : String, 
    titleFill : Color, 
    allowCustomTitleFillColor : boolean, 
    compartmentFill : Color, 
    allowCustomCompartmentFillColor : boolean, 
    titleFontSettings : FontSettings, 
    itemFontSettings : FontSettings, 
    isDefaultCollapsed : boolean
)

Parameters

  • name
    Type: String

    Initial Name value.

  • title
    Type: String

    Initial Title value.

  • titleFill
    Type: Color

    Initital TitleFill value.

  • allowCustomTitleFillColor
    Type: Boolean

    True if title fill color can be changed through the property grid, false otherwise.

  • compartmentFill
    Type: Color

    Initial CompartmentFill value.

  • allowCustomCompartmentFillColor
    Type: Boolean

    True if compartment fill color can be changed through the property grid, false otherwise.

  • isDefaultCollapsed
    Type: Boolean

    Whether the default state of the compartment is collapsed

.NET Framework Security

See Also

Reference

ListCompartmentDescription Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace