Aracılığıyla paylaş


RadialGradientBrush.RadiusY Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the vertical radius of the outer circle of a radial gradient.

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

Syntax

'Declaration
Public Property RadiusY As Double
public double RadiusY { get; set; }
<RadialGradientBrush RadiusY="double"/>

Property Value

Type: System.Double
The vertical radius of the outer circle of a radial gradient. The default is 0.5.

Remarks

Dependency property identifier field: RadiusYProperty

When the mapping mode is RelativeToBoundingBox (the default), RadiusX and RadiusY are "logical vectors", where values between 0 and 1 are mapped against the total size of the eventual bounding box where the brush is applied. The 0.5 default values for RadiusX and RadiusY create a circle that reaches the edge of the bounding box under this mapping mode. If the mapping mode is Absolute, then RadiusX and RadiusY should be given as a double value in the coordinate system.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.