Bagikan melalui


RatingControl.PlaceholderValue Properti

Definisi

Mendapatkan atau mengatur peringkat yang ditampilkan dalam kontrol hingga nilai diubah oleh tindakan pengguna atau beberapa operasi lainnya.

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"/>

Nilai Properti

Double

double

Peringkat yang ditampilkan dalam kontrol saat tidak ada nilai yang dimasukkan. Defaultnya adalah null.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk