BaseButton.BindCommand Method

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