Jaa


RatingControl.MaxRating Property

Definition

Gets or sets the maximum allowed rating value.

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

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

void MaxRating(int value);
public int MaxRating { get; set; }
var int32 = ratingControl.maxRating;
ratingControl.maxRating = int32;
Public Property MaxRating As Integer
<RatingControl MaxRating="int"/>

Property Value

Int32

int

The maximum allowed rating value. The default is 5.

Applies to