Skip to main content
Bar

BarToggleSwitchItem.BindCommand Method

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