Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GradientStop.Offset Property

 

Gets the location of the gradient stop within the gradient vector.

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

public double Offset { get; set; }

Property Value

Type: System.Double

The relative location of this gradient stop along the gradient vector. The default value is 0.0.

A value of 0.0 specifies that the stop is positioned at the beginning of the gradient vector, while a value of 1.0 specifies that the stop is positioned at the end of the gradient vector.

Identifier field

OffsetProperty

Metadata properties set to true

None

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