Freigeben über


ColorSpectrum.MaxSaturation Eigenschaft

Definition

Ruft den maximalen Sättigungswert im Bereich von 0 bis 100 ab oder legt diese fest.

public:
 property int MaxSaturation { int get(); void set(int value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")]
int MaxSaturation();

void MaxSaturation(int value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")]
int MaxSaturation();

void MaxSaturation(int value);
public int MaxSaturation { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")]
public int MaxSaturation { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")] set; }
var int32 = colorSpectrum.maxSaturation;
colorSpectrum.maxSaturation = int32;
Public Property MaxSaturation As Integer

Eigenschaftswert

Int32

int

Der maximale Sättigungswert im Bereich von 0 bis 100. Der Standard ist 100.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Hinweise

Der gültige Bereich für Sättigungswerte liegt zwischen 0 und 100. Das Festlegen eines Werts außerhalb dieses Bereichs führt zu einer Ausnahme.

Gilt für: