RatingControl.MaxRating Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.