Search code examples
c#wpfxamlstackpanelscrollbars

How to add a ScrollBar to a Stackpanel


In my WPF application, I have a Stackpanel containing several controls inside them. How can I add a Scrollbar to this stackpanel.


Solution

  • Put it into a ScrollViewer.