<DockPanel>
<Grid DockPanel.Dock="Bottom" VerticalAlignment="Bottom" Height="280">
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
wpf 中借助 Grid 实现随着 Form 大小变化而按比例自动改变宽度或高度。
最新推荐文章于 2025-03-17 14:49:16 发布