A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
Hi Markus,
you can use CommandParameter and use this value as return from ShowDialog, like this:
<Button Content="No" HorizontalAlignment="left" Margin="5" Width="100"
Command="{Binding}" CommandParameter="No"/>
<Button Content="Yes" HorizontalAlignment="Right" Margin="5" Width="100"
Command="{Binding}" CommandParameter="Yes"/>
And CodeBehind: