SimpleShape.DefaultFillGradientColor Property
Gets the default fill gradient 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 DefaultFillGradientColor As Color
[BrowsableAttribute(false)]
public static Color DefaultFillGradientColor { get; }
[BrowsableAttribute(false)]
public:
static property Color DefaultFillGradientColor {
Color get ();
}
[<BrowsableAttribute(false)>]
static member DefaultFillGradientColor : Color with get
static function get DefaultFillGradientColor () : Color
Property Value
Type: System.Drawing.Color
The default fill gradient Color of the shape. The default is LightGray.
Remarks
For SimpleShape, the value of this property is LightGray. It cannot be changed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
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)