ColorPicker.MaxHue 属性

定义

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

适用于 UWP 的等效 WinUI 2 APIWindows 应用 SDK中用于 WinUI 的 Microsoft.UI.Xaml.Controls.ColorPicker.MaxHue (,请参阅 ) 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。 设置超出此范围的值将导致异常。

适用于