Read-only Run elements in a WPF RichTextBox?
问题 I may be completely imagining this, but I could have sworn there was a way to make individual Run (or Parapgraph) elements in a RichTextBox read-only. I also could have sworn I tried a method for doing this out myself a few weeks ago and was satisfied with the results - I vaguely remember it looked something like this: <RichTextBox x:Name="richTextBox" AcceptsTab="True" AcceptsReturn="True" FontFamily="Courier New" FontSize="14"> <FlowDocument> <Paragraph> <Run IsReadOnly="True">I wish this