public bool SelectAll { get { return this.Get<bool>("SelectAll"); } set { this.Set<bool>("SelectAll", value); if (this.SelectAllCommand.CanExecute(null)) this.SelectAllCommand.Execute(value); } } As my code, I want to a checkbox - select all function. When I manually click the "select all", I want to execute the SelectAllCommand, but if the checkbox is selected automtically, the CanExecute should return false to me....
I don't how to pass a parameter to CanExecute... How can I perfectly do that ...?
Thanks in advance
CheckBox.CommandandCheckBox.CommandParameter?