YesNo MessageBox not closing when x-button clicked
When I open a MessageBox with options YesNo, the (usually) cancelling cross in the upper right is shown but has no effect.

    System.Windows.MessageBox.Show("Really, really?", "Are you sure?", MessageBoxButton.YesNo);
            
If I offer YesNoCancel as options, clicking the cross closes the Dialog with DialogResult Cancel.

    System.Windows.MessageBox.Show("Really, really?", "Are you sure?", MessageBoxButton.YesNoCancel);

I would have expected that the cross is "looking disabled" if not hidden at all, when clicking it has no effect.
Probably I am not the first one observing this.
What is your favorite way to hide/disable this button or workaround the issue?
YesNo MessageBox not closing when x-button clicked
===

When I open a MessageBox with options YesNo, the (usually) cancelling cross in the upper right is shown but has no effect.

    System.Windows.MessageBox.Show("Really, really?", "Are you sure?", MessageBoxButton.YesNo);
            
If I offer YesNoCancel as options, clicking the cross closes the Dialog with DialogResult Cancel.

    System.Windows.MessageBox.Show("Really, really?", "Are you sure?", MessageBoxButton.YesNoCancel);

I would have expected that the cross is "looking disabled" if not hidden at all, when clicking it has no effect.
Probably I am not the first one observing this.
What is your favorite way to hide/disable this button or workaround the issue?