ColorSpectrum.MaxHue 屬性

定義

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

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.Primitives.ColorSpectrum.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 = colorSpectrum.maxHue;
colorSpectrum.maxHue = int32;
Public Property MaxHue As Integer

屬性值

Int32

int

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

備註

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

適用於