Share via


ColorPicker.MaxSaturation Property

Definition

Gets or sets the maximum Saturation value in the range 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" .../>

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