Share via


ColorPicker.MaxSaturation Property

Definition

Gets or sets the maximum Saturation value in the range 0-100.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property int MaxSaturation { int get(); void set(int value); };
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 { get; 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; }
Public Property MaxSaturation As Integer
<ColorPicker MaxSaturation="int" .../>

Property Value

Int32

int

The maximum Saturation value in the range 0-100. The default is 100.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Remarks

The valid range for Saturation values is 0-100. Setting a value outside of this range will cause an exception.

Applies to