Share via


RatingControl.IsClearEnabled 屬性

定義

取得或設定值,判斷使用者是否可以移除評等。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property bool IsClearEnabled { bool get(); void set(bool value); };
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 { get; 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; }
Public Property IsClearEnabled As Boolean
<RatingControl IsClearEnabled="bool"/>

屬性值

Boolean

bool

如果使用者可以移除評等,則為true;否則為false。 預設值為 True

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於