Back to Devexpress

GalleryItem.BindCommand Method

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-galleryitem-dot-bindcommand.md

latest1.3 KB
Original Source

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