Scrollbars not appearing when Silverlight app is minimized
In our Silverlight app, when the user minimizes the screen, the right side gets cut off. THis is bad for us because we have 2 grids on right and left side with a pie in the mid开发者_开发问答dle.
How can we make this so that the entire page gets a horizontal and vertical bar in this instance. This also happens with older PC's but mostly the concern is where someone minimizes.
If you want to add scroll bars to your silverlight application, wrap the content in a ScrollViewer. See below for example:
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
<Grid>
<TextBlock Name="SampleTextBlock" Text="This is my content" FontSize="72" />
</Grid>
</ScrollViewer>
精彩评论