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.
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"/>
Property Value
Int32
int
The maximum allowed rating value. The default is 5.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute