Search code examples
wpftextblock

making textblock readonly


currently i have a textblock placed in a scroll viewer control. How do i make the textblock read only?


Solution

  • Textblocks are already readonly. They are intended to display a small amount of flow text. Perhaps you thought you were dealing with a TextBox instead?