WPF 程序Form自的控件自适应方式之一
2013-06-27 22:18 咒语 阅读(279) 评论(0) 编辑 收藏 举报<Window x:Class="MapEditor2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="400" Width="600"> <Grid> <Grid.RowDefinitions> <RowDefinition ToolTip="菜单栏" Height="30"/> <RowDefinition ToolTip="工作区" Height="200*"/> <RowDefinition ToolTip="状态栏" Height="30"/> </Grid.RowDefinitions> <StatusBar Margin="0,0,0,0" Grid.Row="2" BorderBrush="#FF2671A4" BorderThickness="0,1,0,0" /> </Grid> </Window>