次の方法で共有


ElementListCompartmentDescription Constructor

Definition

Constructor that takes all of the initial values.

public:
 ElementListCompartmentDescription(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);
public ElementListCompartmentDescription (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.ElementListCompartmentDescription : 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.ElementListCompartmentDescription
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)

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

If the compartment is collapsed by default

Applies to