Share via


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。 設定超出此範圍的值將會造成例外狀況。

適用於