[問題] WPF TextChanged修改屬性
我想在 RichTextBox 中坐上標下標的功能
因為是輸入到某個字才對那個字做上標
所以我把功能寫在 TextChanged 中
當我執行到
richTextBox.Selection.ApplyPropertyValue(
Inline.BaselineAlignmentProperty, newAlignment);
會出現 類型 'System.StackOverflowException'
的未處理例外狀況發生於 PresentationFramework.dll
如我我不是寫在 TextChanged 中就沒事
想請問我該如何解決呢? 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.135.47.73
推
03/01 14:44, , 1F
03/01 14:44, 1F
→
03/01 14:44, , 2F
03/01 14:44, 2F
→
03/01 14:45, , 3F
03/01 14:45, 3F
C_Sharp 近期熱門文章
PTT數位生活區 即時熱門文章