IXRGradientStop (Windows Embedded CE 6.0)
1/6/2010
This class describes the location and color of a transition point in a gradient pattern.
Syntax
class IXRGradientStop : public IXRDependencyObject
Methods
Method | Description |
---|---|
Retrieves the color of this gradient stop. |
|
Retrieves the location of this gradient stop within the gradient vector. |
|
Stops the color of this gradient stop. |
|
Sets the location of this gradient stop within the gradient vector. |
Remarks
Use this class to describe the colors in an IXRLinearGradientBrush object or an IXRRadialGradientBrush object. Add the IXRGradientStop objects to an IXRGradientStopCollection, which is supplied to the IXRGradientBrush::SetGradientStops inherited method.
The following illustration shows the gradient stops of a linear gradient:
You can also define a gradient stop in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.
Notice that this class does not provide an opacity property; to make an IXRGradientStop semi-transparent, call IXRGradientStop::SetColor and pass in a transparent color value.
Inheritance Hierarchy
IXRGradientStop
.NET Framework Equivalent
System.Windows.Media.GradientStop
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |
See Also
Reference
Classes for Visual Appearance and Behavior