다음을 통해 공유


Compartment.CompartmentFillColor Property

Gets or sets the background color for the compartment shape.

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

Syntax

‘선언
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("69da1a4a-b3a1-4859-b014-aa7799be6873")> _
Public Property CompartmentFillColor As Color
    Get
    Set
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("69da1a4a-b3a1-4859-b014-aa7799be6873")]
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)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"69da1a4a-b3a1-4859-b014-aa7799be6873")]
public:
property Color CompartmentFillColor {
    Color get ();
    void set (Color value);
}
[<DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<BrowsableAttribute(false)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("69da1a4a-b3a1-4859-b014-aa7799be6873")>]
member CompartmentFillColor : Color with get, set
function get CompartmentFillColor () : Color
function set CompartmentFillColor (value : Color)

Property Value

Type: System.Drawing.Color
The background color for the compartment shape.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace