Scrollbar not working in WPF application
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 gr开发者_JAVA百科id also. Please help.
Thanx in advance.
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>
精彩评论