Why is IsChecked property nullable boolean in WPF CheckBox?

前端 未结 4 1913
囚心锁ツ
囚心锁ツ 2020-12-11 14:36

Is there a case when IsChecked property on WPF CheckBox null ?

I guess that will answer my question from title of question.

4条回答
  •  失恋的感觉
    2020-12-11 15:31

    If that is the case then it's probably a three-state-checkbox, have a look at http://msdn.microsoft.com/en-us/library/system.windows.forms.checkbox.threestate.aspx for an explaination.

提交回复
热议问题