ColorPicker.MaxHue Eigenschaft

Definition

Ruft den maximalen Farbtonwert im Bereich 0-359 ab oder legt diesen fest.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe Windows App SDK Namespaces).

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" .../>

Eigenschaftswert

Int32

int

Der maximale Farbtonwert im Bereich 0-359. Der Standardwert ist 359.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Hinweise

Der gültige Bereich für Hue-Werte beträgt 0-359. Das Festlegen eines Werts außerhalb dieses Bereichs führt zu einer Ausnahme.

Gilt für: