RatingControl.PlaceholderValue Property

Definition

Gets or sets the rating that is displayed in the control until the value is changed by a user action or some other operation.

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

public:
 property double PlaceholderValue { double get(); void set(double value); };
double PlaceholderValue();

void PlaceholderValue(double value);
public double PlaceholderValue { get; set; }
var double = ratingControl.placeholderValue;
ratingControl.placeholderValue = double;
Public Property PlaceholderValue As Double
<RatingControl PlaceholderValue="double"/>

Property Value

Double

double

The rating that is displayed in the control when no value is entered. The default is null.

Applies to