This example demonstrates how to add custom buttons before the DXWindow's default buttons by using the HeaderItems property.
To accomplish this task in accordance with the MVVM pattern, bind the HeaderItemsSource property to a collection in your ViewModel and specify the HeaderItemTemplate or HeaderItemTemplateSelector.