WPF字符串中的换行符

<sys:String x:Key="NewUpdateWillShow" xml:space="preserve">第一行&#13;第二行&#13;</sys:String>

换行符为&#13;

必须加上xml:space="preserve",否则换行符无效。

原文地址:https://www.cnblogs.com/ryanzheng/p/7867709.html