摘要: 用小工具自动生成一段XAML代码,但是自动生成的文本缩进和格式比较乱,想弄得整齐一点。 附上最终的实现代码: public static string FormatXML(string content) { XmlDocument doc = new XmlDocument(); XmlReader 阅读全文
posted @ 2022-09-01 16:31 wzwyc 阅读(160) 评论(0) 推荐(0)