共用方式為


IShape.Color Property

Gets or sets the color of the shape.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
Property Color As Color
Color Color { get; set; }
property Color Color {
    Color get ();
    void set (Color value);
}
abstract Color : Color with get, set
function get Color () : Color 
function set Color (value : Color)

Property Value

Type: System.Drawing.Color

.NET Framework Security

See Also

Reference

IShape Interface

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace