Condividi tramite


RatingControl.MaxRating Proprietà

Definizione

Ottiene o imposta il valore massimo di valutazione consentito.

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 MaxRating { int get(); void set(int value); };
int MaxRating();

void MaxRating(int value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")]
int MaxRating();

void MaxRating(int value);
public int MaxRating { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")]
public int MaxRating { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")] set; }
Public Property MaxRating As Integer
<RatingControl MaxRating="int"/>

Valore della proprietà

Int32

int

Valore massimo di classificazione consentito. Il valore predefinito è 5.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Si applica a