ColorSpectrum.MaxHue 属性

定义

获取或设置范围 0-359 中的最大 Hue 值。

public:
 property int MaxHue { int get(); void set(int value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")]
int MaxHue();

void MaxHue(int value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")]
int MaxHue();

void MaxHue(int value);
public int MaxHue { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")]
public int MaxHue { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="359")] set; }
var int32 = colorSpectrum.maxHue;
colorSpectrum.maxHue = int32;
Public Property MaxHue As Integer

属性值

Int32

int

范围为 0-359 的最大 Hue 值。 默认值为 359。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

注解

Hue 值的有效范围是 0-359。 设置超出此范围的值将导致异常。

适用于