Share via


ColorSpectrum.HsvColor Property

Definition

Gets or sets the current color value as a Vector4.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property float4 HsvColor { float4 get(); void set(float4 value); };
float4 HsvColor();

void HsvColor(float4 value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 0, 0, 1, 1 }")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 0, 0, 1, 1 }")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 0, 0, 1, 1 }")]
float4 HsvColor();

void HsvColor(float4 value);
public Vector4 HsvColor { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 0, 0, 1, 1 }")]
public Vector4 HsvColor { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 0, 0, 1, 1 }")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 0, 0, 1, 1 }")] set; }
Public Property HsvColor As Vector4

Property Value

Vector4

float4

The current HSV color value.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to