积极答复者
自动调整textbox的高度

问题
答案
-
你把TextBlock放在ViewPort里面 然后把ViewPort放在Grid里面 ,一般都是这样的
Best day, Best life- 已建议为答案 Jie BaoModerator 2011年4月4日 2:25
- 已标记为答案 Jie BaoModerator 2011年4月11日 18:00
全部回复
-
你把TextBlock放在ViewPort里面 然后把ViewPort放在Grid里面 ,一般都是这样的
Best day, Best life- 已建议为答案 Jie BaoModerator 2011年4月4日 2:25
- 已标记为答案 Jie BaoModerator 2011年4月11日 18:00
-
我把代码补充上:
<Grid> <Viewbox> <TextBox Text="test"/> </Viewbox> </Grid>
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已建议为答案 Jie BaoModerator 2011年4月11日 18:00