【发布时间】:2013-09-19 09:14:21
【问题描述】:
谁能指导我解决保证金问题? 我是 XAML 的新手。我对左、上、右、下感到困惑
感谢您的任何建议。
【问题讨论】:
标签: xaml windows-phone-7
谁能指导我解决保证金问题? 我是 XAML 的新手。我对左、上、右、下感到困惑
感谢您的任何建议。
【问题讨论】:
标签: xaml windows-phone-7
请参阅此 MSDN 文档:
【讨论】:
边距由左、上、右、下设置 您可以为所有角度设置一个值,也可以指定每个角度。
//SETS A MARGIN OF 10px in all four directions
<Grid margin="10"></Grid>
//SETS A 10px margin left, 15px margin top, 10px margin right and 15px bottom
<Grid margin="10, 15, 10, 15"></grid>
【讨论】: