We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5899d8e commit 984feccCopy full SHA for 984fecc
src/Controls/src/Core/CheckBox/CheckBox.cs
@@ -25,7 +25,7 @@ public partial class CheckBox : View, IElementConfiguration<CheckBox>, IBorderEl
25
26
checkBox.Handler?.UpdateValue(nameof(ICheckBox.Foreground));
27
checkBox.CheckedChanged?.Invoke(bindable, new CheckedChangedEventArgs((bool)newValue));
28
- if (checkBox.Command is not null && checkBox.Command.CanExecute(null))
+ if (checkBox.Command is not null && checkBox.Command.CanExecute(checkBox.CommandParameter))
29
{
30
checkBox.Command.Execute(checkBox.CommandParameter);
31
}
0 commit comments