Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the 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
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DomainObjectIdAttribute("69da1a4a-b3a1-4859-b014-aa7799be6873")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
Public Property CompartmentFillColor As Color
'Usage
Dim instance As Compartment
Dim value As Color
value = instance.CompartmentFillColor
instance.CompartmentFillColor = value
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainObjectIdAttribute("69da1a4a-b3a1-4859-b014-aa7799be6873")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public Color CompartmentFillColor { get; set; }
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainObjectIdAttribute(L"69da1a4a-b3a1-4859-b014-aa7799be6873")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public:
property Color CompartmentFillColor {
Color get ();
void set (Color value);
}
public function get CompartmentFillColor () : Color
public function set CompartmentFillColor (value : Color)
Property Value
Type: System.Drawing.Color
The background color for the compartment shape.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.