步驟 1:
add grid xmal
<Grid VerticalAlignment=”Stretch” HorizontalAlignment=”Stretch”> <Grid.ColumnDefinitions > <ColumnDefinition Width=”*” /> <ColumnDefinition Width=”*” /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height=”*” /> <RowDefinition Height=”Auto” /> <RowDefinition Height=”*” /> </Grid.RowDefinitions>
步驟 2:
add splitter xaml
<GridSplitter ResizeDirection=”Rows” Grid.Column=”0″ Grid.ColumnSpan=”2″ Grid.Row=”1″ Width=”Auto” Height=”3″ HorizontalAlignment=”Stretch” VerticalAlignment=”Stretch” Margin=”0″ />