Skip to main content

CheckButton.BindCommand Method

Name Parameters Description
BindCommand(Expression<Action>, Object, Func<Object>, Action<BaseButton, Func<Boolean>>) commandSelector, source, queryCommandParameter, updateState Uses the command selector to find an appropriate parameterized command in the source and bind it to this CheckButton.
BindCommand(Object, Func<Object>, Action<BaseButton, Func<Boolean>>) command, queryCommandParameter, updateState Binds the specific parameterized command to this CheckButton .
BindCommand<T>(Expression<Action<T>>, Object, Func<T>, Action<BaseButton, Func<Boolean>>) commandSelector, source, queryCommandParameter, updateState Uses the command selector to find an appropriate parameterized command of the target type in the source and bind it to this CheckButton.