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.

public:
 property double PlaceholderValue { double get(); void set(double value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
double PlaceholderValue();

void PlaceholderValue(double value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
double PlaceholderValue();

void PlaceholderValue(double value);
public double PlaceholderValue { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
public double PlaceholderValue { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] 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.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to