Back to Devexpress

NavBarItem.BindCommand Method

windowsforms-devexpress-dot-xtranavbar-dot-navbaritem-dot-bindcommand.md

latest1.2 KB
Original Source

NavBarItem.BindCommand Method

NameParametersDescription
BindCommand(Expression<Action>, Object, Func<Object>)commandSelector, source, queryCommandParameterUses the command selector to find an appropriate parameterized command in the source and bind it to this NavBarItem.
BindCommand(Object, Func<Object>)command, queryCommandParameterBinds the specific parameterized command to this NavBarItem.
BindCommand<T>(Expression<Action<T>>, Object, Func<T>)commandSelector, source, queryCommandParameterUses the command selector to find an appropriate parameterized command of the target type in the source and bind it to this NavBarItem.