Skip to main content
A newer version of this page is available. .

DXMenuItem.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 DXMenuItem.
BindCommand(Object, Func<Object>) command, queryCommandParameter Binds the specific parameterized command to this DXMenuItem.
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 DXMenuItem.