Partager via


ColorPicker.MaxSaturation Propriété

Définition

Obtient ou définit la valeur de saturation maximale dans la plage 0-100.

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

Valeur de propriété

Int32

int

Valeur de saturation maximale dans la plage 0-100. La valeur par défaut est 100.

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Remarques

La plage valide pour les valeurs de saturation est comprise entre 0 et 100. La définition d’une valeur en dehors de cette plage entraîne une exception.

S’applique à