Skip to main content
Bar

BarButtonItem.BindCommand Method

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