Share via


RadialGradientBrush.MappingMode 속성

정의

그라데이션 브러시의 위치 좌표가 절대인지 아니면 출력 영역에 상대적인지를 가져오거나 설정합니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

public:
 property BrushMappingMode MappingMode { BrushMappingMode get(); void set(BrushMappingMode value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")]
BrushMappingMode MappingMode();

void MappingMode(BrushMappingMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")]
BrushMappingMode MappingMode();

void MappingMode(BrushMappingMode value);
public BrushMappingMode MappingMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")]
public BrushMappingMode MappingMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::BrushMappingMode::RelativeToBoundingBox")] set; }
Public Property MappingMode As BrushMappingMode

속성 값

범위 0에서 1까지의 상대 좌표 또는 절대 좌표를 나타내는지 여부를 CenterRadiusXRadiusYGradientOrigin 정의합니다. 기본값은 RelativeToBoundingBox입니다.

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

설명

기본값은 RelativeToBoundingBox입니다.

적용 대상