开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜