Partager via


BrushSettings.ForeColor Property

Gets or sets the color of hatch lines drawn by this HatchBrush object. 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 ForeColor As Color
public Color ForeColor { get; set; }
public:
property Color ForeColor {
    Color get ();
    void set (Color value);
}
member ForeColor : Color with get, set
function get ForeColor () : Color 
function set ForeColor (value : Color)

Property Value

Type: System.Drawing.Color

Remarks

Gets or sets the color of hatch lines that are drawn by this HatchBrush object. Allows the change only when the property is not immutable, and sets the override flags appropriately.

.NET Framework Security

See Also

Reference

BrushSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace