ToggleButton.IsThreeState 屬性
定義
決定控制項支援兩種或三種狀態。Determines whether the control supports two or three states.
public:
property bool IsThreeState { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
public bool IsThreeState { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.IsThreeState : bool with get, set
Public Property IsThreeState As Boolean
屬性值
如果控制項支援三種狀態則為 true
,否則為 false
。true
if the control supports three states; otherwise, false
. 預設為 false
。The default is false
.
- 屬性
備註
IsChecked當為時,屬性可以設定為 null
第三個 IsThreeState 狀態 true
。The IsChecked property can be set to null
as a third state when IsThreeState is true
.
相依性屬性資訊Dependency Property Information
識別碼欄位Identifier field | IsThreeStateProperty |
中繼資料屬性設定為 true Metadata properties set to true |
無None |