开发者

Aligning Text Boxes in Silverlight

How to align text boxes in silverlight using C# .In my application two textboxes are getting overlapped . I am 开发者_如何转开发using Grid


Place them in a StackPanel.

<StackPanel>
    <TextBox Width="120">
    <TextBox Width="120">
</StackPanel>

produces two text boxes one above the other.

Another option is use a second grid with two rows or two columns and place a text box in each, this allows you share out the available space of the cell in provided by the outer Grid.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜