ListCompartmentDescription Constructor

Definition

Constructor that takes all of the initial values.

protected:
 ListCompartmentDescription(System::String ^ name, System::String ^ title, System::Drawing::Color titleFill, bool allowCustomTitleFillColor, System::Drawing::Color compartmentFill, bool allowCustomCompartmentFillColor, Microsoft::VisualStudio::Modeling::Diagrams::FontSettings ^ titleFontSettings, Microsoft::VisualStudio::Modeling::Diagrams::FontSettings ^ itemFontSettings, bool isDefaultCollapsed);
protected ListCompartmentDescription (string name, string title, System.Drawing.Color titleFill, bool allowCustomTitleFillColor, System.Drawing.Color compartmentFill, bool allowCustomCompartmentFillColor, Microsoft.VisualStudio.Modeling.Diagrams.FontSettings titleFontSettings, Microsoft.VisualStudio.Modeling.Diagrams.FontSettings itemFontSettings, bool isDefaultCollapsed);
new Microsoft.VisualStudio.Modeling.Diagrams.ListCompartmentDescription : string * string * System.Drawing.Color * bool * System.Drawing.Color * bool * Microsoft.VisualStudio.Modeling.Diagrams.FontSettings * Microsoft.VisualStudio.Modeling.Diagrams.FontSettings * bool -> Microsoft.VisualStudio.Modeling.Diagrams.ListCompartmentDescription
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)

Parameters

name
String

Initial Name value.

title
String

Initial Title value.

titleFill
Color

Initital TitleFill value.

allowCustomTitleFillColor
Boolean

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

compartmentFill
Color

Initial CompartmentFill value.

allowCustomCompartmentFillColor
Boolean

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

titleFontSettings
FontSettings

Font settings for the title font. This font will be placed in the instance style set when the compartment is created.

itemFontSettings
FontSettings

Font settings for the compartment item font. This font will be placed in the instance style set when the compartment is created.

isDefaultCollapsed
Boolean

Whether the default state of the compartment is collapsed

Applies to