Bagikan melalui


RatingControl.MaxRating Properti

Definisi

Mendapatkan atau menetapkan nilai peringkat maksimum yang diizinkan.

public:
 property int MaxRating { int get(); void set(int value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")]
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 { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="5")] 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; }
var int32 = ratingControl.maxRating;
ratingControl.maxRating = int32;
Public Property MaxRating As Integer
<RatingControl MaxRating="int"/>

Nilai Properti

Int32

int

Nilai peringkat maksimum yang diizinkan. Bawaan adalah 5.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk