Share via


CompositionGradientBrush.MappingMode Property

Definition

Gets or sets a value that indicates whether the gradient brush's positioning coordinates (StartPoint, EndPoint) are absolute or relative to the output area.

public:
 property CompositionMappingMode MappingMode { CompositionMappingMode get(); void set(CompositionMappingMode value); };
CompositionMappingMode MappingMode();

void MappingMode(CompositionMappingMode value);
public CompositionMappingMode MappingMode { get; set; }
var compositionMappingMode = compositionGradientBrush.mappingMode;
compositionGradientBrush.mappingMode = compositionMappingMode;
Public Property MappingMode As CompositionMappingMode

Property Value

A value of the enumeration that indicates whether the gradient brush's positioning coordinates (StartPoint, EndPoint) are absolute or relative to the output area.

Applies to