Share via


PenSettings.Color Property

Gets or sets the Color information for this PenStyleSetInfo. Only allows the change if the property is not immutable and sets the override flags appropriately.

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

Syntax

'Declaration
Public Property Color As Color
public Color Color { get; set; }
public:
property Color Color {
    Color get ();
    void set (Color value);
}
member 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

PenSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace