CompartmentDescription Constructor (String^, String^, Color, Boolean, Color, Boolean, FontSettings^)

 

Constructor that takes all of the initial values.

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

protected:
CompartmentDescription(
	String^ name,
	String^ title,
	Color titleFill,
	bool allowCustomTitleFillColor,
	Color compartmentFill,
	bool allowCustomCompartmentFillColor,
	FontSettings^ titleFontSettings
)

Parameters

name
Type: System::String^

Initial Name value.

title
Type: System::String^

Initial Title value.

titleFill
Type: System.Drawing::Color

Initital TitleFill value.

allowCustomTitleFillColor
Type: System::Boolean

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

compartmentFill
Type: System.Drawing::Color

Initial CompartmentFill value.

allowCustomCompartmentFillColor
Type: System::Boolean

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

titleFontSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams::FontSettings^

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

Return to top
Show: