Share via


ColorSpectrum.MaxSaturation 屬性

定義

取得或設定範圍 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 = colorSpectrum.maxSaturation;
colorSpectrum.maxSaturation = int32;
Public Property MaxSaturation As Integer

屬性值

Int32

int

範圍0-100中的飽和度值上限。 預設值為 100。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

備註

飽和度值的有效範圍是0-100。 設定超出此範圍的值會導致例外狀況。

適用於