Why is IsChecked property nullable boolean in WPF CheckBox?

前端 未结 4 1911
囚心锁ツ
囚心锁ツ 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:20

    Null means the CheckBox is indeterminate (is neither blank nor checked, instead it either has a line through it, or the box has a gray box inside it)

提交回复
热议问题