This example demonstrates how to create commands with the DelegateCommand class
More information you can find here:
https://documentation.devexpress.com/#WPF/CustomDocument14937
https://community.devexpress.com/blogs/wpf/archive/2013/08/29/getting-started-with-devexpress-mvvm-framework-commands-and-view-models.aspx