Share via


SimpleShape.DefaultFillColor Property

 

Gets the default fill color of the shape.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

[BrowsableAttribute(false)]
public static Color DefaultFillColor { get; }
public:
[BrowsableAttribute(false)]
property Color DefaultFillColor {
    static Color get();
}
[<BrowsableAttribute(false)>]
static member DefaultFillColor : Color with get
<BrowsableAttribute(False)>
Public Shared ReadOnly Property DefaultFillColor As Color

Property Value

Type: System.Drawing.Color

The default fill Color of the shape. The default is DefaultForeColor.

Remarks

For SimpleShape, the value of this property is DefaultForeColor. It cannot be changed.

See Also

SimpleShape Class
Microsoft.VisualBasic.PowerPacks Namespace
Introduction to the Line and Shape Controls (Visual Studio)
How to: Draw Lines with the LineShape Control (Visual Studio)
How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)

Return to top