Reputation: 6050
I have made a WPF application. I have added a scrollbar to it, but whenever I minimize or maximize the window it's not working accordingly. I dont want to use coding. Please tell me how to make the scrollbar work according to window by setting properties only. I have used a grid also. Please help.
Thanx in advance.
Upvotes: 0
Views: 773
Reputation: 151
The most simple way of using a scrollbar is to place a ScrollViewer
in your window and put then elements within this ScrollViewer
.
<ScrollViewer>
<Grid>
....
</Grid>
</ScrollViewer>
Upvotes: 4