Share via


ColorPicker.MaxValue Property

Definition

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

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

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

void MaxValue(int value);
public int MaxValue { get; set; }
var int32 = colorPicker.maxValue;
colorPicker.maxValue = int32;
Public Property MaxValue As Integer
<ColorPicker MaxValue="int" .../>

Property Value

Int32

int

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

Remarks

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

Applies to