Share via


ColorPicker.MaxHue 屬性

定義

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

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.ColorPicker.MaxHue (for WinUI 在Windows 應用程式 SDK中,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property int MaxHue { int get(); void set(int value); };
int MaxHue();

void MaxHue(int value);
public int MaxHue { get; set; }
var int32 = colorPicker.maxHue;
colorPicker.maxHue = int32;
Public Property MaxHue As Integer
<ColorPicker MaxHue="int" .../>

屬性值

Int32

int

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

備註

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

適用於