开发者

How do I move the text in a silverlight textbox

I make a silverlight TextBox开发者_StackOverflow. The Text is vertically centered in the box so that I am required to make the textbox a certain size in order to see the text.

Can I make the text appear at the top of the box so that I am not required to have such large textboxes?


If you want to put the text at the top of the textbox then instead of VerticalAlignment="Center" use VerticalAlignment="Top"

If you feel that the text is not filling the textbox then try using a negative number for the padding property in your xaml e.g. Padding="-3"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜