How to make a CheckBox unselectable?

后端 未结 10 2265
慢半拍i
慢半拍i 2021-01-07 16:34

I was wondering how you make a CheckBox unselectable in c#? I thought it would be something like SetSelectable (false) or something but I can\'t seem to see th

10条回答
  •  盖世英雄少女心
    2021-01-07 16:46

    In response to some comments about grayed out label: Set the Text of the CheckBox to the empty string, Enableto false and use a Label for the text.

    Drawback: No mnemonic support out of the box.

提交回复
热议问题