Udostępnij za pośrednictwem


ColorSpectrum.MaxSaturation Property

Definition

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

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum.MaxSaturation (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);
public int MaxSaturation { get; set; }
var int32 = colorSpectrum.maxSaturation;
colorSpectrum.maxSaturation = int32;
Public Property MaxSaturation As Integer

Property Value

Int32

int

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

Remarks

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

Applies to