مشاركة عبر


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 Shared ReadOnly Property DefaultFillColor As Color
    Get
'الاستخدام
Dim value As Color

value = SimpleShape.DefaultFillColor
[BrowsableAttribute(false)]
public static Color DefaultFillColor { get; }
[BrowsableAttribute(false)]
public:
static property Color DefaultFillColor {
    Color get ();
}
[<BrowsableAttribute(false)>]
static member DefaultFillColor : Color
static function get DefaultFillColor () : 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.

.NET Framework Security

See Also

Reference

SimpleShape Class

SimpleShape Members

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

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)