ColorSpectrum.MaxValue Property


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

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum.MaxValue (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

 property int MaxValue { int get(); void set(int value); };
int MaxValue();

void MaxValue(int value);
public int MaxValue { get; set; }
var int32 = colorSpectrum.maxValue;
colorSpectrum.maxValue = int32;
Public Property MaxValue As Integer

Property Value



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


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

Applies to