共用方式為


CompartmentDescription.CompartmentFillColor Property

Gets or sets the Fill Color for the compartment body.

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

Syntax

'宣告
Public Property CompartmentFillColor As Color
    Get
    Set
public Color CompartmentFillColor { get; set; }
public:
property Color CompartmentFillColor {
    Color get ();
    void set (Color value);
}
member CompartmentFillColor : Color with get, set
function get CompartmentFillColor () : Color
function set CompartmentFillColor (value : Color)

Property Value

Type: System.Drawing.Color

.NET Framework Security

See Also

Reference

CompartmentDescription Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace