LinearGradientBrush Constructor ()

 

Initializes a new instance of the LinearGradientBrush class.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public LinearGradientBrush()

The MappingMode of the brush is initialized to RelativeToBoundingBox.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: