2012-03-09 112 views

回答

4

添加到System.Windows.Forms的參考並不改變你使用WPF從的RichTextBox的事實,沒有一個Text屬性。 WPF RichTextBox託管FlowDocument,而不是像WinForms RichTextBox那樣的RTF內容。閱讀MSDN文檔以獲取有關如何使用FlowDocument的信息。

0

爲什麼不使用WPF的RichTextBox控件?

enter image description here

+2

他*是*使用WPF RichTextBox的......而且他沒有找到它的Text屬性,因爲它不存在 – 2012-03-10 00:16:16

相關問題