Compartilhar via


RadialGradientBrush.InterpolationSpace Propriedade

Definição

Obtém ou define o espaço de cor usado para interpolar as cores do gradiente.

Esta documentação se aplica ao WinUI 2 para UWP (para WinUI no SDK do Aplicativo Windows, consulte os namespaces SDK do Aplicativo Windows).

public:
 property CompositionColorSpace InterpolationSpace { CompositionColorSpace get(); void set(CompositionColorSpace value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
CompositionColorSpace InterpolationSpace();

void InterpolationSpace(CompositionColorSpace value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
CompositionColorSpace InterpolationSpace();

void InterpolationSpace(CompositionColorSpace value);
public CompositionColorSpace InterpolationSpace { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")]
public CompositionColorSpace InterpolationSpace { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Windows::UI::Composition::CompositionColorSpace::Auto")] set; }
Public Property InterpolationSpace As CompositionColorSpace

Valor da propriedade

O espaço de cor usado para interpolar as cores do gradiente. O padrão é Auto.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Comentários

Para obter valores com suporte, consulte CompositionRadialGradientBrush.InterpolationSpace.

Aplica-se a