A read-only CheckBox in C# WPF

后端 未结 11 2084
南方客
南方客 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:25

    Wrap the CheckBox in a ContentControl. Make the ContentControl IsEnabled=False

提交回复
热议问题