How to allow copying message on MessageBox

后端 未结 5 1795
無奈伤痛
無奈伤痛 2021-02-06 20:52

How can I allow selecting and copying of text from MessageBox in WPF?

5条回答
  •  暖寄归人
    2021-02-06 20:54

    If you don't need selecting text as a requirement, just use System.Windows.Forms.MessageBox. It maps to the system-default one which already allows copying its contents with Ctrl+C.

提交回复
热议问题