i currently have a textblock that is embedded in a large grid. I have read some post with regards to adding a grid/dockpanels and put the textblock inside.
In my XAML,
if i do this:
<Grid name="Large">
<Scrollviewer>
<Grid name="Small">
<Textblock/>
</Grid>
</Scrollviewer>
</Grid>
i will get the vertical scroll bars in the "large" grid. My objective is to get scroll bars in the "small"开发者_如何学C grid. Anybody has any idea?
Move it down a level:
<Grid name="Large">
<Grid name="Small">
<Scrollviewer>
<Textblock />
</Scrollviewer>
</Grid>
</Grid>
精彩评论