I read MSDN for WinUI but haven't found any information about how to disable checkbox. If it's exists, what's the name of property?
If it doesn't, how should I control, that checkbox cannot be changed? By overriding onClick
?
CodePudding user response:
Yes. Disabled
doesn't exists, but all controls have Enabled
property, and you can set it to False. This will disable your CheckBox, as you want.
CodePudding user response:
You're probably looking for the IsEnabled
property, available to all Control
s.