CompositionGradientBrush.ColorStops Property

Definition

Gets the brush's gradient stops.

public:
 property CompositionColorGradientStopCollection ^ ColorStops { CompositionColorGradientStopCollection ^ get(); };
CompositionColorGradientStopCollection ColorStops();
public CompositionColorGradientStopCollection ColorStops { get; }
var compositionColorGradientStopCollection = compositionGradientBrush.colorStops;
Public ReadOnly Property ColorStops As CompositionColorGradientStopCollection

Property Value

A collection of the CompositionColorGradientStop objects associated with the brush, each of which specifies a color and an offset along the brush's gradient axis. The default is an empty CompositionColorGradientStopCollection.

Applies to