i want to create a window based on infragistics XamRibbonWindow but with catel features. Within the catel documentation I found informations about how to archieve this using the catel:WindowBehavior.
<i:Interaction.Behaviors>
<catel:WindowBehavior ViewModelType="viewmodels:DemoWindowViewModel" Save="okButton.Click" Cancel="cancelButton.Click" />
</i:Interaction.Behaviors>
Seems too easy right? Well, it is really all you have to do
But when I add this behavior to a standard wpf window, an exception is thrown. It tells me that the window class has to implement catel:IView to work.
So I've looked further and found another sample. But the interface IDataWindow has some more events and properties in v3.9 then in this sample.
So I've decided to download the advanced sample project for further investigation. But this one is based on catel v3.8 at the moment and it differs from 3.9.