Share via


Compartment.AllowCustomCompartmentFillColor Property

Gets or sets permission to have a custom background color for the compartment shape.

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

Syntax

'Declaration
Public Property AllowCustomCompartmentFillColor As Boolean
'Usage
Dim instance As Compartment 
Dim value As Boolean 

value = instance.AllowCustomCompartmentFillColor

instance.AllowCustomCompartmentFillColor = value
public bool AllowCustomCompartmentFillColor { get; set; }
public:
property bool AllowCustomCompartmentFillColor {
    bool get ();
    void set (bool value);
}
public function get AllowCustomCompartmentFillColor () : boolean 
public function set AllowCustomCompartmentFillColor (value : boolean)

Property Value

Type: System.Boolean
true if the compartment shape can have a custom background color; otherwise, false.

.NET Framework Security

See Also

Reference

Compartment Class

Compartment Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace