开发者

WPF change left margin of textbox

I want to change the just the left margin of a WPF textbox via XAML:

This code obviously does not work :

<TextBox Margin.Left ="0"/>

What would be the correct code, does anyone here know ?

Regards, Mad开发者_开发问答Seb


I can't see your code - but it would normally go like this:

<TextBox Margin="5 0 0 0"/>

First number is left, then top, then right and finally bottom margin.

Hope this helps!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜