Share via


ColorPicker.MaxValue Proprietà

Definizione

Ottiene o imposta il valore massimo Valore nell'intervallo 0-100.

Questa documentazione si applica a WinUI 2 per UWP (per WinUI nella SDK per app di Windows, vedere gli spazi dei nomi SDK per app di Windows).

public:
 property int MaxValue { int get(); void set(int value); };
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 { get; 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; }
Public Property MaxValue As Integer
<ColorPicker MaxValue="int" .../>

Valore della proprietà

Int32

int

Valore massimo nell'intervallo 0-100. Il valore predefinito è 100.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Commenti

L'intervallo valido per i valori Value è 0-100. L'impostazione di un valore all'esterno di questo intervallo causerà un'eccezione.

Si applica a