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.

This documentation applies to WinUI 2 for UWP (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);
/// [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 { get; 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; }
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