Share via


ColorPicker.MaxHue Proprietà

Definizione

Ottiene o imposta il valore massimo hue nell'intervallo 0-359.

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 = colorPicker.maxHue;
colorPicker.maxHue = int32;
Public Property MaxHue As Integer
<ColorPicker MaxHue="int" .../>

Valore della proprietà

Int32

int

Valore massimo hue nell'intervallo 0-359. Il valore predefinito è 359.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Commenti

L'intervallo valido per i valori Hue è 0-359. L'impostazione di un valore esterno a questo intervallo causerà un'eccezione.

Si applica a