XRGradientSpreadMethod (Windows Embedded CE 6.0)

1/6/2010

This enumeration specifies how to draw the gradient outside a gradient brush's gradient vector or space.

Syntax

enum XRGradientSpreadMethod{
    XRGradientSpreadMethod_Pad=0,
    XRGradientSpreadMethod_Reflect=1,
    XRGradientSpreadMethod_Repeat=2
};

Members

  • XRGradientSpreadMethod_Pad
    The color values at the ends of the gradient vector fill the remaining space.
  • XRGradientSpreadMethod_Reflect
    The gradient is repeated in the reverse direction until the space is filled.
  • XRGradientSpreadMethod_Repeat
    The gradient is repeated in the original direction until the space is filled.

.NET Framework Equivalent

System.Windows.Media.GradientSpreadMethod

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Enumerations