How can I add a scrollbar to the wrappanel control in WPF. Some of my controls are cutting off width wise due to the no scrollbar.
+5
A:
The ScrollViewer will be helpful for you in this situation. Otherwise, you'll need to use the ScrollBar control and manually control what's visible.
Usage example for the scrollviewer:
<DockPanel>
<ScrollViewer VerticalScrollBarVisibility="Auto">
<StackPanel />
</ScrollViewer >
</DockPanel>
Stephen Wrighton
2008-12-11 16:07:46
Thanks man that worked!
azamsharp
2008-12-11 16:17:25
Of course, you can place your wrap panel inside the scrollviewer.
DMan
2010-08-27 16:48:37