A read-only CheckBox in C# WPF

后端 未结 11 2060
南方客
南方客 2020-12-06 04:37

I am having a tricky problem, I want some slightly unusual behaviour from a checkbox and can\'t seem to figure it out. Any suggestions would be most welcome. The behaviour I

11条回答
  •  一整个雨季
    2020-12-06 05:06

    This answer is not your question, but it answers the question from the title.

    Checkbox in WPF does not have the IsReadOnly property. But, similar behavior is achieved using properties IsHitTestVisible="False" and Focusable="False"

          
    

提交回复
热议问题