Share via


ColorPicker.MaxHue 屬性

定義

取得或設定範圍 0-359 中的 Hue 值上限。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property int MaxHue { int get(); void set(int value); };
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 { get; 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; }
Public Property MaxHue As Integer
<ColorPicker MaxHue="int" .../>

屬性值

Int32

int

範圍 0-359 中的 Hue 值上限。 預設值為 359。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

備註

Hue 值的有效範圍是 0-359。 設定超出此範圍的值將會造成例外狀況。

適用於