BulletChrome.IsChecked 屬性

定義

取得或設定值,指出是否已選取 Bullet

public:
 property Nullable<bool> IsChecked { Nullable<bool> get(); void set(Nullable<bool> value); };
public bool? IsChecked { get; set; }
member this.IsChecked : Nullable<bool> with get, set
Public Property IsChecked As Nullable(Of Boolean)

屬性值

如果已選取 Bullet,則為 true,如果未選取 Bullet,則為 false,否則為 null

備註

只有當 是 RadioButtonCheckBoxBullet,才適用這個屬性。

如果用於項目符號的物件支援 IsThreeState 屬性,而該屬性的值是 true,則的值 null 可能是用戶可設定的值。 否則,使用者動作無法將的值 IsChecked 設定為 null ,但可以在標記或程式代碼中設定該值。

相依性屬性資訊

標識元欄位 IsCheckedProperty
設定為的元數據屬性 true AffectsRender 不過, (,此屬性可能不會在所有主題中設定)

XAML Attribute Usage

<object IsChecked="bool"/>  

-或-

<object IsChecked="x:Null"/>  

適用於