Compartilhar via


SimpleShape.DefaultBackColor Property

Gets the default background color of the shape.

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

Syntax

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

Property Value

Type: System.Drawing.Color
The default background Color of the shape. The default is DefaultBackColor.

Remarks

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

.NET Framework Security

See Also

Reference

SimpleShape Class

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)