i dont think you can override this behavior of MessageBox. Use some custom message box or implement your own MessageBoxForm and add your custom settings to it.
You can create a custom MessageBox. Here is a good example: https://code.msdn.microsoft.com/windowsdesktop/WPF-Messagebox-4a038c72
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.