Bagikan melalui


ColorPicker.MaxValue Properti

Definisi

Mendapatkan atau menetapkan nilai Nilai maksimum dalam rentang 0-100.

public:
 property int MaxValue { int get(); void set(int value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")]
int MaxValue();

void MaxValue(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 MaxValue();

void MaxValue(int value);
public int MaxValue { [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 MaxValue { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="100")] set; }
var int32 = colorPicker.maxValue;
colorPicker.maxValue = int32;
Public Property MaxValue As Integer
<ColorPicker MaxValue="int" .../>

Nilai Properti

Int32

int

Nilai maksimum dalam rentang 0-100. Nilai defaultnya adalah 100.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Keterangan

Rentang yang valid untuk nilai Nilai adalah 0-100. Mengatur nilai di luar rentang ini akan menyebabkan pengecualian.

Berlaku untuk