Share via


CompositionGradientBrush.ExtendMode Property

Definition

Gets or sets a value that specifies how to draw the gradient outside the brush's gradient vector or space.

public:
 property CompositionGradientExtendMode ExtendMode { CompositionGradientExtendMode get(); void set(CompositionGradientExtendMode value); };
CompositionGradientExtendMode ExtendMode();

void ExtendMode(CompositionGradientExtendMode value);
public CompositionGradientExtendMode ExtendMode { get; set; }
var compositionGradientExtendMode = compositionGradientBrush.extendMode;
compositionGradientBrush.extendMode = compositionGradientExtendMode;
Public Property ExtendMode As CompositionGradientExtendMode

Property Value

The mode used to paint the gradient.

Applies to