Command is missing on Checkbox control
See original GitHub issueDescription
Why does Button have an ICommand
to handle the click event but Checkbox has no such convenience?
Steps to Reproduce
Add Checkbox to view/control.
Version with bug
Release Candidate 3 (current)
Last version that worked well
Unknown/Other
Affected platforms
I was not able test on other platforms
Affected platform versions
windows 10.0.19041.0
Did you find any workaround?
Community toolkit EventToCommand.
Writing code in the setter of a property bound to IsChecked
. The horror.
Relevant log output
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:9 (1 by maintainers)
Top Results From Across the Web
How to make checkbox trigger a command when checked?
I have a checkbox and a [RelayCommand] in the viewmodel that I want to link it to so that the command runs when...
Read more >Missing checkboxes? | MrExcel Message Board
Right click on them and go to the format control. Then click on the Properties tab and select the appropriate radio button to...
Read more >[Fix] “Users Must Enter a User Name and Password to Use ...
When the user runs “control userpasswords2” or “netplwiz” commands, the checkbox is missing in these programs.
Read more >Add a check box or option button (Form controls)
To add a check box, click the Developer tab, click Insert, and under Form Controls, click · Click in the cell where you...
Read more >CheckBox in Command Item Template
CheckBox in Command Item Template ... Hi, I almost have the following working but am missing a little bit of information. ... Works...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The MVVM pattern is a natural choice for .NET MAUI apps
Yes, it is. Please use this ticket or raise others to implement commanding robustly not just for Checkbox but for all controls (ListView.SelectionChanged).
In my case, this worked for me as a workaround but it’s still a bit annoying we even have to do it! Thank you for commenting it.