WPF布局实例

1.Best ComboBox Tutorial,来自MSDN

2.Textbox文本垂直居中对齐:TextBox.VerticalContentAlignment="Center"

3.控件跟随窗口变化:VerticalAlignment="Stretch" HorizontalAlignment="Stretch"

4.规划窗口:    <Grid.RowDefinitions>

5.设置NavigationWindow按钮可见:  this.ShowsNavigationUI = false;

   手动导航: NavigationService.Navigate(new Uri("Page1.xaml",UriKind.Relative));

6.Page的Textbox多线程赋值:参见Communication through Sockets


posted @ 2012-12-10 14:18  冰呆瓜  阅读(359)  评论(0编辑  收藏  举报