<ScrollViewer> <TextBlock> </ScrollViewer> </Grid>
新手求指教:
我不知道ScrollViewer怎么能关联上包含在ScrollViewer里的TextBlock控件。
<Grid> <ScrollViewer> <TextBlock> </ScrollViewer> </Grid> 新手求指教: 我不知道ScrollViewer怎么能关联上包含在ScrollViewer里的TextBlock控件。
ScrollViewer继承自ContentControl,因此是通过Content属性来关联上的。
详情请看这里: http://msdn.microsoft.com/zh-cn/library/system.windows.controls.scrollviewer(v=vs.95).aspx
你的那段代码类似:
快乐在于能够长时间的为自己认为值得的事情努力工作,不管它是什么。