I have a TextBlock in WPF. I write many lines to it, far exceeding its vertical height. I expected a vertical scroll bar to appear automatically when that happe
TextBlock
This is a simple solution to that question. The vertical scroll will be activated only when the text overflows.