Aracılığıyla paylaş


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.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to