RichTextBlock使用

                                Paragraph ph = new Paragraph();
                                Run run = new Run();
                                run.Text = item.CaseContent + "\r\n";
                                ph.Inlines.Add(run);
                                txt_caseDetail.Blocks.Add(ph);

 

posted on 2014-05-27 16:24  酒歌  阅读(397)  评论(0编辑  收藏  举报