Sreekumar P
Sreekumar P

Reputation: 6050

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 grid also. Please help.

Thanx in advance.

Upvotes: 0

Views: 773

Answers (1)

PeterB
PeterB

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

Related Questions