2个回答
展开全部
<Window x:Class="testGridSplitter.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Grid.RowDefinitions >
<RowDefinition Height="60" MinHeight="60"/>
<RowDefinition MinHeight="60"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100" MinWidth="60" MaxWidth="400"/>
<ColumnDefinition MinWidth="60"/>
</Grid.ColumnDefinitions>
<GridSplitter Width="1" Background="Red" Grid.RowSpan="2"/>
<GridSplitter Height="2" Background="Green" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Grid.ColumnSpan="2">
</GridSplitter>
</Grid>
</Window>
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Grid.RowDefinitions >
<RowDefinition Height="60" MinHeight="60"/>
<RowDefinition MinHeight="60"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100" MinWidth="60" MaxWidth="400"/>
<ColumnDefinition MinWidth="60"/>
</Grid.ColumnDefinitions>
<GridSplitter Width="1" Background="Red" Grid.RowSpan="2"/>
<GridSplitter Height="2" Background="Green" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Grid.ColumnSpan="2">
</GridSplitter>
</Grid>
</Window>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询