Bagikan melalui


RatingControl.IsClearEnabled Properti

Definisi

Mendapatkan atau menetapkan nilai yang menentukan apakah pengguna dapat menghapus peringkat.

public:
 property bool IsClearEnabled { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsClearEnabled();

void IsClearEnabled(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsClearEnabled();

void IsClearEnabled(bool value);
public bool IsClearEnabled { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool IsClearEnabled { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
var boolean = ratingControl.isClearEnabled;
ratingControl.isClearEnabled = boolean;
Public Property IsClearEnabled As Boolean
<RatingControl IsClearEnabled="bool"/>

Nilai Properti

Boolean

bool

true jika pengguna dapat menghapus peringkat; jika tidak, salah. Defaultnya adalah true

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk