Skip to main content
All docs
V23.2

HtmlContentPopup.BindCommand Method

Name Parameters Description
BindCommand(Expression<Action>, Object, String, Func<Object>) commandSelector, source, elementId, queryCommandParameter Uses the command selector to find an appropriate parameterized MVVM command in the source, and binds this command to the target HTML element.
BindCommand(Object, String, Func<Object>) command, elementId, queryCommandParameter Binds the parameterized MVVM command to the target HTML element.
BindCommand<T>(Expression<Action<T>>, Object, String, Func<T>) commandSelector, source, elementId, queryCommandParameter Uses the command selector to find an appropriate parameterized MVVM command in the source, and binds this command to the target HTML element.