Hi,
Im using a stackpanel containing itemcontrols and displaying some canvas'.
How do i make a scrollbar on the stackpanel so that i can see all the canvas' that I am using?
Thanks in advance.
Urema.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
personPosted Aug 11, 2009, 11:49 AM
Thanks for the reply it helped significantly!!
Urema.
Sanjay ChauhanPosted Aug 10, 2009, 7:24 AM
Hi,
<StackPanel Grid.Row="1" Grid.Column="1" Background="RoyalBlue" Height="400" ScrollViewer.VerticalScrollBarVisibility="Auto">
x:Name="lstPics" ItemsSource="{Binding}" Height="400" SelectionChanged="lstPics_SelectionChanged" ScrollViewer.VerticalScrollBarVisibility="Visible">
Put theScrollViewer.VerticalScrollBarVisibility="Auto"
For vertical scrollbar. Check the above code.