RichTextBox Binding is broken when text is manually modified or cleared
问题 I have a RichTextBox bound to a string. Using C# I generate a string that writes to it. But if I want to manually change the text by clicking into the RichTextBox and deleting it with the backspace key, or pressing Enter to make a new line, the binding becomes broken and I can no longer programmatically write to it with the string a second time. XAML <RichTextBox x:Name="rtbScriptView" Margin="11,71,280,56" Padding="10,10,10,48" FontSize="14" Grid.ColumnSpan="1" VerticalScrollBarVisibility=